Re: libstdc++ concept checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 March 2013 02:36, NightStrike wrote:
> 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.

Correct.

>  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?

Yes, that's right.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux