help-gplusplus
[Top][All Lists]
Advanced

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

_GLIBCXX_CONCEPT_CHECKS usage


From: mathieu
Subject: _GLIBCXX_CONCEPT_CHECKS usage
Date: Fri, 07 Sep 2007 15:50:00 -0000
User-agent: G2/1.0

Hello,

  I thought I could use  _GLIBCXX_CONCEPT_CHECKS  this way:

$ cat l.cxx
#include <algorithm>
#include <list>

int main()
{
  std::list<int> l;
  std::sort(l.begin(), l.end());
  return 0;
}

$ g++ -D_GLIBCXX_CONCEPT_CHECKS l.cxx 2>&1|
wc
     57     565   13383
$ g++ l.cxx 2>&1|
wc
     18     156    2784

Concept checking is making my output even worse... or am I missing
something here ?

Thanks
-Mathieu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]