#1729: Switch Carpet to new bboxset class implementation --------------------------+------------------------------------------------- Reporter: eschnett | Owner: eschnett Type: enhancement | Status: review Priority: major | Milestone: Component: Carpet | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Replying to [comment:6 hinder]:
According to http://www.stroustrup.com/C++11FAQ.html#11, we could test
the {{{__cplusplus}}} macro. See also http://stackoverflow.com/questions/5047971/how-do-i-check-for-c11-support.
{{{ #if __cplusplus <= 199711L #error This library needs at least a C++11 compliant compiler #endif }}}
Maybe we could try this?
If such a way to test for C++11 is available, then we should not output an error in that case, but define CARPET_DISABLE_BBOXSET2 instead (in addition to a warning maybe), shouldn't we?