# Named scan pattern This example shows how to create a named scan pattern and set it. ```.. literalinclude:: main.cpp :language: cpp ```