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
  • 4,858
  • 3
  • 31
  • 64

1 Answers1

2

Would BOOST_STATIC_WARNING work for you?

Andrzej
  • 4,765
  • 24
  • 35