This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
libstdc++ concept checking
- From: NightStrike <nightstrike at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 Mar 2013 22:36:32 -0400
- Subject: libstdc++ concept checking
This page:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/concept_checking.html
says "They are off by default for all versions of GCC. They can be
enabled at configure time with --enable-concept-checks. You can enable
them on a per-translation-unit basis with -D_GLIBCXX_CONCEPT_CHECKS."
I'm assuming that --enable-concept-checks is an option to use while
building libstdc++ to set the default for that library. But does the
second sentence mean that I can enable concept checking for my own
code by defining that macro, even if libstdc++ wasn't compiled with
the option turned on?