1

Possible Duplicate:
Does there exist a static_warning?

Is there a way to implement non fatal messages at compile time just like static_assert do when its condition fail? Having a message that shows up always when the compiler encounters it is not enough, I want it to show up when, for example, a template is instantiated.

Community
  • 1
  • 1
Lorenzo Pistone
  • 5,028
  • 3
  • 34
  • 65

1 Answers1

2

Would BOOST_STATIC_WARNING work for you?

Andrzej
  • 5,027
  • 27
  • 36