¡@

Home 

c++ Programming Glossary: msvc

Visual Studio support for new C / C++ standards?

http://stackoverflow.com/questions/146381/visual-studio-support-for-new-c-c-standards

it makes it very hard to port modern gcc based code into MSVC which at least I find extremely painful. A workaround exists..

How is std::string implemented?

http://stackoverflow.com/questions/1466073/how-is-stdstring-implemented

source code for the runtime so whether you're using GCC or MSVC or whatever you have the capability to look at the implementation...

C++ Which is faster: Stack allocation or Heap allocation

http://stackoverflow.com/questions/161053/c-which-is-faster-stack-allocation-or-heap-allocation

would be most helpful but in general for GCC and MSVC what is the case Is heap allocation not as high performing as..

What do the following phrases mean in C++: zero-, default- and value-initialization?

http://stackoverflow.com/questions/1613341/what-do-the-following-phrases-mean-in-c-zero-default-and-value-initializat

in are subtle. One thing to certainly be aware of is that MSVC follows the C 98 rules even in VS 2008 VC 9 or cl.exe version.. or cl.exe version 15.x . The following snippet shows that MSVC and Digital Mars follow C 98 rules while GCC 3.4.5 and Comeau..

Static variables initialisation order

http://stackoverflow.com/questions/211237/static-variables-initialisation-order

can I see some explanations about this order for gcc and MSVC I know that relying on that is a very bad idea it is just to..

Can we increase the re-usability of this key-oriented access-protection pattern?

http://stackoverflow.com/questions/3324898/can-we-increase-the-re-usability-of-this-key-oriented-access-protection-pattern

and allowing template parameters to be friends. Note that MSVC pre 2010 allows template friend specifiers as an extension therefore.. template typename T class passkey private friend T C 0x MSVC allows as extension passkey noncopyable passkey const passkey..

Which, if any, C++ compilers do tail-recursion optimization?

http://stackoverflow.com/questions/34125/which-if-any-c-compilers-do-tail-recursion-optimization

not How do I go about telling the compiler to do it For MSVC O2 or Ox For GCC O2 or O3 How about checking if the compiler.. if the compiler has done this in a certain case For MSVC enable PDB output to be able to trace the code then inspect.. optimization for speed. But you do that anyway right For MSVC use O2 or Ox. For GCC use O3 The easiest way to check if the..

std::vector is so much slower than plain arrays?

http://stackoverflow.com/questions/3664272/stdvector-is-so-much-slower-than-plain-arrays

myth Edit I'm using Release mode in MSVS2005. In MSVC #define _SECURE_SCL 0 reduces UseVector by half bringing it..

push_back vs emplace_back

http://stackoverflow.com/questions/4303513/push-back-vs-emplace-back

they didn't implement the right version of emplace_back in MSVC Actually it bugged me too a while ago so I asked the same question..

C++ alternative tokens?

http://stackoverflow.com/questions/555505/c-alternative-tokens

keyword digraphs trigraphs share improve this question MSVC supports them as keywords only if you use the Za option to disable..

Accessing inherited variable from templated parent class

http://stackoverflow.com/questions/605497/accessing-inherited-variable-from-templated-parent-class

25 error `a' was not declared in this scope g 2.96 and MSVC 6 7 7.1 8 and 9 accept it as do at least older Intel and SGI..

What exactly is “broken” with Microsoft Visual C++'s two-phase template instantiation?

http://stackoverflow.com/questions/6273176/what-exactly-is-broken-with-microsoft-visual-cs-two-phase-template-instanti

comments and answers on SO I hear all the time that MSVC doesn't implement two phase template lookup instantiation correctly... instantiation correctly. From what I understand so far MSVC is only doing a basic syntax check on template classes and functions.. is supposed to compile in a standard C compiler. However MSVC 2005 as well as 2010 Express will report an error because of..

C++ display stack trace on exception

http://stackoverflow.com/questions/691719/c-display-stack-trace-on-exception

GCC it's pretty trivial see this post for more details. On MSVC then you can use the StackWalker library that handles all of..

Boost linker error: Unresolved external symbol “class boost::system::error_category const & __cdecl boost::system::get_system_category(void)”

http://stackoverflow.com/questions/1066071/boost-linker-error-unresolved-external-symbol-class-boostsystemerror-categ

bjam build dir c boost build type complete toolset msvc 9.0 address model 64 architecture x86 with system share improve..

64-bit version of Boost for 64-bit windows

http://stackoverflow.com/questions/2322255/64-bit-version-of-boost-for-64-bit-windows

improve this question As a short answer bjam toolset msvc 9.0 address model 64 build type complete As a longer answer.. a common use case Build the win32 binaries bjam toolset msvc 9.0 build type complete stage Create the directory lib win32.. bin.v2 and stage Build the x64 binaries bjam toolset msvc 9.0 address model 64 build type complete stage Create the directory..

How to use Boost in Visual Studio 2010

http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010

b2.exe previously named bjam . Run b2 Win32 b2 toolset msvc 10.0 build type complete stage x64 b2 toolset msvc 10.0 build.. toolset msvc 10.0 build type complete stage x64 b2 toolset msvc 10.0 build type complete architecture x86 address model 64 stage..

non-copyable objects and value initialization: g++ vs msvc

http://stackoverflow.com/questions/2671532/non-copyable-objects-and-value-initialization-g-vs-msvc

copyable objects and value initialization g vs msvc I'm seeing some different behavior between g and msvc around.. vs msvc I'm seeing some different behavior between g and msvc around value initializing non copyable objects. Consider a class.. to use those together doit noncopyable This works fine on msvc as of VC 9.0 but fails on every version of g I tested this with..

Programmatically create static arrays at compile time in C++

http://stackoverflow.com/questions/2978259/programmatically-create-static-arrays-at-compile-time-in-c

is amazing needs a little work to get it compiling on msvc and intel compilers but nonetheless a very interesting approach..

How do I start a CUDA app in Visual Studio 2010?

http://stackoverflow.com/questions/3778799/how-do-i-start-a-cuda-app-in-visual-studio-2010

If I proceed as before nvcc reports that it only supports msvc 8.0 9.0. But the website clearly states that it supports VS.. VS 2010. I read somewhere else that I need to have VS 2008 msvc 9.0 also installed my word. Doing so now. But I'm guessing that..

cannot call base class protected functions?

http://stackoverflow.com/questions/477829/cannot-call-base-class-protected-functions

b return f2 b protected virtual f2 B b return b f2 this In msvc I get the error error C2248 'name class f2' cannot access protected..

undefined reference to `WinMain@16'

http://stackoverflow.com/questions/5259714/undefined-reference-to-winmain16

as a console subsystem executable works fine C test msvc x.cpp user32.lib x.cpp C test dumpbin headers x.exe find i subsystem.. building as GUI subsystem does not work by default C test msvc x.cpp user32.lib link subsystem windows x.cpp LIBCMT.lib wincrt0.obj.. use namely mainCRTStartup which calls standard main C test msvc x.cpp user32.lib link subsystem windows entry mainCRTStartup..

App does not run with VS 2008 SP1 DLLs, previous version works with RTM versions

http://stackoverflow.com/questions/59635/app-does-not-run-with-vs-2008-sp1-dlls-previous-version-works-with-rtm-versions

6 to Visual Studio 2008 we've been using the MFC90.dll and msvc pr 90.dlls along with the manifest files in a private side by..

Adding static libcurl to Code::Blocks IDE

http://stackoverflow.com/questions/6243638/adding-static-libcurl-to-codeblocks-ide

first followed by least dependant. Other linkers like msvc link and borland's ilinker do not exhibit such issues the libraries..

how to compile ASL (boost based Adobe C++ gui library) on windows 7?

http://stackoverflow.com/questions/6397501/how-to-compile-asl-boost-based-adobe-c-gui-library-on-windows-7

clean I mean thay lay into folder like ASL built_artifacts msvc 10.0 debug link static threading multi and there you see libasl.lib..