This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Numeric_limits


Sure it's supported.  I use it all the time.  What version gcc are you
using?

  #include <iostream>
  #include <limits>
  int main()
  {
    std::cout << std::numeric_limits<double>::max() << std::endl;
  }

compiles and works fine in gcc 3.2.  Maybe something screwed up in your
installation?

--Matt


> -----Original Message-----
> From: agenkin@scils.rutgers.edu [mailto:agenkin@scils.rutgers.edu]
> Sent: Monday, October 14, 2002 14:59
> To: gcc-help@gcc.gnu.org
> Subject: Numeric_limits
> Sensitivity: Confidential
> 
> 
> numeric_limits template seems to be not supported. Any remedy?
> 
> Thank you.
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]