Originally posted by Illasera
View Post
Announcement
Collapse
No announcement yet.
Cairo Proposed To Become Part Of ISO C++
Collapse
X
-
Originally posted by gigaplex View PostSTL containers are not safe to pass across DLL boundaries without great care,
Originally posted by gigaplex View Postand are not designed to be inheritable, so they're often not practical to use.Last edited by pal666; 03 January 2014, 10:07 PM.
Comment
-
Originally posted by pal666 View Postit is only a problem of nonexistent abi on windows, and dlls also are not part of c++ standard, so it is out of scope anyway
The C++ committee should focus on real problems, such as proper modules, defining an ABI, creating a test suite for C++ compilers instead of toying around with graphics rendering. It's a waste of everyone's time, since no sane developer is going to use a hypothetical std::graphics that will not be supported by half the compilers and will behave differently on the other half that claim support.
Comment
-
Originally posted by BlackStar View PostIt's a problem *everywhere* because C++ does not define an ABI.
Originally posted by BlackStar View PostToggle a compiler option and passing a std::vector can suddenly cause a crash.
Originally posted by BlackStar View Postexample ?
how many features of c++98 library, not supported by half the compilers, do you know ? like "nobody is using iostreams", or "nobody is using strings", or "nobody is using vectors"
Comment
-
Originally posted by pal666 View Postnot if you want hardware acceleration. and who doesn't, should keep his hands out of programming
Comment
-
Originally posted by pal666 View Postit is only a problem of nonexistent abi on windows, and dlls also are not part of c++ standard, so it is out of scope anyway
but it is an advantage. if you need something inheritable(very seldom need), use stl container in it's implementation. you could pass it across dll boundary as a bonus point.
Comment
Comment