The following tokens are recognized by the preprocessor outside the context of a preprocessor directive
Następujące klucze są rozpoznawane, przez preprocesor, poza kontekstem dyrektywy
C++03 provides two methods to test assertions: the macro assert and the preprocessor directive #error.
Starszy standard C++ posiada dwie metody do testowania asercji: makro assert i dyrektywa preprocesora #error.
However, neither is appropriate for use in templates: the macro tests the assertion at execution-time, while the preprocessor directive tests the assertion during preprocessing, which happens before instantiation of templates.
Jednak żaden z nich nie jest odpowiedni do używania w szablonach: makro testuje asercje w czasie wykonywania kodu, a dyrektywa preprocesora testuje w fazie preprocesorowej, czyli przed tworzeniem instancji szablonów.
The first example is similar to the preprocessor directive #error, although the preprocessor does only support integral types. In contrast, in the second example the assertion is checked at every instantiation of the template class Check.
Poniżej pokazane są dwa przykłady używania Pierwszy przykład stanowi alternatywę dla dyrektywy preprocesora #error; dla porównania, drugi przykład pokazuje jak asercja jest sprawdzana podczas każdego instancjonowania klasy szablonowej Check.
It is a preprocessor directive, which tells you which GLSL version we are going to use.
Jest to dyrektywa preprocesora, która mówi o tym, z jakiej wersji GLSL'a mamy zamiar korzystać (lub jest napisany dany shader).
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "preprocessor directive" in English