¡@

Home 

c++ Programming Glossary: portably

How do you implement Coroutines in C++

http://stackoverflow.com/questions/121757/how-do-you-implement-coroutines-in-c

do you implement Coroutines in C I doubt it can be done portably but are there any solutions out there I think it could be done..

Is it possible to hash pointers in portable C++03 code?

http://stackoverflow.com/questions/14167455/is-it-possible-to-hash-pointers-in-portable-c03-code

to hash pointers in portable C 03 code Is it possible to portably hash a pointer in C 03 which does not have std hash defined..

Can the C preprocessor be used to tell if a file exists?

http://stackoverflow.com/questions/142877/can-the-c-preprocessor-be-used-to-tell-if-a-file-exists

echo '#endif' config.h fi A pretty thorough framework for portably working with portability checks like this as well as thousands..

C++: std::string in a multi-threaded program

http://stackoverflow.com/questions/1661154/c-stdstring-in-a-multi-threaded-program

controversial conclusion You simply cannot safely and portably use std string in a multi threaded program Obviously no STL..

Portable branch prediction hints

http://stackoverflow.com/questions/3702903/portable-branch-prediction-hints

I suppose putting it an an else clause should work pretty portably. Many compilers support some form of #pragma unroll but it will..

C/C++: Capture characters from standard input without waiting for enter to be pressed

http://stackoverflow.com/questions/421860/c-c-capture-characters-from-standard-input-without-waiting-for-enter-to-be-pr

share improve this question That's not possible portably in pure C because it depends too much on the terminal used that..

Ways to detect whether a C++ virtual function has been redefined in a derived class

http://stackoverflow.com/questions/4741271/ways-to-detect-whether-a-c-virtual-function-has-been-redefined-in-a-derived-cl

You can't check for override of virtual function portably. You need to bring the knowledge to the Solver preferably via..

Overallocating with new/delete

http://stackoverflow.com/questions/5520591/overallocating-with-new-delete

for the allocation part but will delete work properly and portably if I place an object in memory allocated by malloc What I want..

Optimizations for pow() with const non-integer exponent?

http://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent

value as an approximation of log2 . This is somewhat portably achievable by applying the convert from integer instruction..

Detect dynamically allocated object?

http://stackoverflow.com/questions/7434062/detect-dynamically-allocated-object

c memory allocation share improve this question Not portably. Under Solaris or Linux on a PC at least 32 bit Linux the stack..

C++, removing #include<vector> or #include<string> in class header

http://stackoverflow.com/questions/920731/c-removing-includevector-or-includestring-in-class-header

declare STL templates at least if you want to do it portably and safely. The standard is clear about the minimum requirements..

Why is splitting a string slower in C++ than Python?

http://stackoverflow.com/questions/9378500/why-is-splitting-a-string-slower-in-c-than-python

standard so that it can be used to pass strings safely and portably around where efficiency is not a main consideration. But enough..