mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-13 20:46:34 +02:00
Minor technical detail added
[SVN r12499]
This commit is contained in:
@ -17,6 +17,12 @@
|
|||||||
// The time complexity of DELAY(N) is O(pow(2,N)).
|
// The time complexity of DELAY(N) is O(pow(2,N)).
|
||||||
//
|
//
|
||||||
// Handy when recompiles are too fast to take a coffee break. :)
|
// Handy when recompiles are too fast to take a coffee break. :)
|
||||||
|
//
|
||||||
|
// Template metaprogramming can be used for implementing similar
|
||||||
|
// delays. Unfortunately template instantiation consumes memory,
|
||||||
|
// therefore compilers usually fail to fully compile long template
|
||||||
|
// based delays, because they run out of memory. This macro takes
|
||||||
|
// only small (O(N)) amount of memory to preprocess.
|
||||||
|
|
||||||
#ifndef DELAY_MAX
|
#ifndef DELAY_MAX
|
||||||
#define DELAY_MAX 16
|
#define DELAY_MAX 16
|
||||||
|
Reference in New Issue
Block a user