I’m in the process of writing snippets for the OpenCL C standard library and a large part of the time OpenCL kernels are written inside string literals.
Is it possible to set up a scope for C/C++ string literals so that snippets from another language could be enabled only “here” but not elsewhere in the source file ?