c++ Programming Glossary: equivalents
Why is the C++ STL is so heavily based on templates? (and not on *interfaces*) http://stackoverflow.com/questions/1039853/why-is-the-c-stl-is-so-heavily-based-on-templates-and-not-on-interfaces realized that it worked better than the traditional OOP equivalents they'd have to include otherwise . So they made a few adjustments..
Why is it wrong to use std::auto_ptr<> with standard containers? http://stackoverflow.com/questions/111478/why-is-it-wrong-to-use-stdauto-ptr-with-standard-containers std shared_ptr or std weak_ptr smart pointers or the boost equivalents if you don't have C 11. Here is the boost library documentation..
Passing an operator along with other parameters http://stackoverflow.com/questions/1190062/passing-an-operator-along-with-other-parameters to std binary_function is Func T U R . There are no equivalents to std less and std greater but it is fairly trivial to create..
Very poor boost::lexical_cast performance http://stackoverflow.com/questions/1250795/very-poor-boostlexical-cast-performance other posts you are in essence using the Java and Python equivalents of sprintf or the less standard itoa . In C you are using a..
STL or Qt containers? http://stackoverflow.com/questions/1668259/stl-or-qt-containers STL containers exclusively and converting to from the Qt equivalents but I have already switched to QString and I find that I'm using..
Developing C wrapper API for Object-Oriented C++ code http://stackoverflow.com/questions/2045774/developing-c-wrapper-api-for-object-oriented-c-code are pure functions. Other builtins are mapped to C equivalents where possible. So a class like this C header class MyClass..
Are there C++ equivalents for the Protocol Buffers delimited I/O functions in Java? http://stackoverflow.com/questions/2340730/are-there-c-equivalents-for-the-protocol-buffers-delimited-i-o-functions-in-ja there C equivalents for the Protocol Buffers delimited I O functions in Java I'm.. mergeDelimitedFrom writeDelimitedTo Are there C equivalents And if not what's the wire format for the size prefixes the..
Hide Console of c program in window OS http://stackoverflow.com/questions/2422430/hide-console-of-c-program-in-window-os access to argc argv MSVC provides global __argc __argv equivalents for windowed applications. Explicitly specifying the subsystem..
Loading a dll from a dll? http://stackoverflow.com/questions/2674736/loading-a-dll-from-a-dll so different there in this respect. There are still some equivalents of DllMain the _init and _fini functions which are what a coincidence..
Functional data structures in C++ http://stackoverflow.com/questions/2757278/functional-data-structures-in-c functional a.k.a. immutable or persistent in the FP sense equivalents of the familiar STL structures By functional I mean that the..
Code to strip diacritical marks using ICU http://stackoverflow.com/questions/2992066/code-to-strip-diacritical-marks-using-icu etc. with their unaccented unumlauted etc. character equivalents e.g. every accented é would become a plain ASCII e from a UnicodeString..
boost spirit semantic action parameters http://stackoverflow.com/questions/3066701/boost-spirit-semantic-action-parameters an example of a possible context type phoenix expression equivalents indicated using namespace boost spirit context context template.. compared to the brief and readable phoenix expression equivalents. I sympathize with the voodoo viewpoint but once you work with..
Undefined Behavior and Sequence Points Reloaded http://stackoverflow.com/questions/4638364/undefined-behavior-and-sequence-points-reloaded then it must invoke undefined behavior. If so then it's equivalents i.operator i.operator and i.add i.inc must also invoke undefined..
Is std::ifstream significantly slower than FILE? http://stackoverflow.com/questions/477225/is-stdifstream-significantly-slower-than-file at once. The difference between std ifstream and the C equivalents is basically a virtual function call or two. It may make a difference..
Storing multiple messages in one protocol buffer binary file http://stackoverflow.com/questions/5586323/storing-multiple-messages-in-one-protocol-buffer-binary-file look at this Stack Overflow thread for details Are there C equivalents for the Protocol Buffers delimited I O functions in Java share..
Is it smart to replace boost::thread and boost::mutex with c++11 equivalents? http://stackoverflow.com/questions/7241993/is-it-smart-to-replace-boostthread-and-boostmutex-with-c11-equivalents it smart to replace boost thread and boost mutex with c 11 equivalents Motivation reason why I'm considering it is that my genius.. 1 mapping between #include thread #include mutex and boost equivalents Would you consider a good idea to replace boost stuff with c..
Of Memory Management, Heap Corruption, and C++ http://stackoverflow.com/questions/7525/of-memory-management-heap-corruption-and-c by about half which is pretty good compared to the Windows equivalents. Think about using the Google Performance Tools as a replacement..
|