1 Sep 01:38
Re: [IOStreams] Opinion on test case needed
eg <egoots <at> gmail.com>
2007-08-31 23:38:06 GMT
2007-08-31 23:38:06 GMT
Frank Birbacher wrote: > http://svn.boost.org/svn/boost/sandbox-branches/birbacher/fix_iostreams/libs/iostreams/test/ > > (note: no "trac" in the URL) > > I'm glad to hear somebody who's willing to test this! :D > Thanks for the info. I was able to compile/run all the tests except the error_test.cpp you added on Windows using Visual Studio .Net 2003 (professional). Unfortunately, it generates an internal compiler error: ----------------- compile-c-c++ ..\..\..\bin.v2\libs\iostreams\fix-iostreams\error_test.test\msvc- 7.1\debug\threading-multi\error_test.obj error_test.cpp c:\dev\boost_1_34_1\libs\iostreams\fix-iostreams\error_test.cpp(142) : fatal err or C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c ', line 148) ---------------- This appears to have hit a bug in the VS.Net 2003 compiler which wasn't(Continue reading)
BTW, to get runtime value in case of stored bounds:
bounded<int>::type b;
// ...
b.constraint().lower_bound()
This works for compile-time bounds too (i.e., for bounded_int etc.).
Best regards,
RSS Feed