c++11 - Why do almost all of the C++ standard libraries not portable (including those of clang, gcc, and vc++)? -


i failed compile gcc's c++ standard library vc++, , vice versa.

why of c++ standard libraries not portable (including of clang, gcc, , vc++)?

i tried stlport, however, old support c++11.

i'm writing own mini-stl embedded systems, cannot use compiler-provided stl because of non-portability. so, must care this.

is there implementation of portable c++ standard library?

part of standard library's job provide portable wrappers around platform-dependent , compiler-dependent functionality. cannot portable.

there's no reason why should portable. there's no need it. supplied part of compiler toolchain. when have compiler, have standard library implementation works compiler. no matter compiler you're using, have implementation of standard library.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -