This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] c++0x std::ratio implementation
Hi,
> With something like __GLIBCXX_HAS_STDINT_H? Or, even if stdint.h
> is
> defined, its still not guaranteed to have intmax_t? But if it
> doesn't,
> won't including cstdint give a compiler error (due to "using
> ::intmax_t)?
>
> Can we assume that if INTMAX_MAX is defined, then intmax_t is
> available?
We already have _GLIBCXX_USE_C99_STDINT_TR1, we have only to use it, consistently, to wrap both code using <cstdint> (the header itself can be included unconditionally) and the corresponding testcases.
If you can do that, + the small stylistic changes and resubmit we can commit very soon...
Paolo.