c++ Programming Glossary: gman
Is there any advantage of using map over unordered_map in case of trivial keys? http://stackoverflow.com/questions/2196995/is-there-any-advantage-of-using-map-over-unordered-map-in-case-of-trivial-keys non trivial 1 024 . Edit duh I forgot the obvious thanks GMan yes map's are ordered of course I know that and am looking for..
Why, really, deleting an incomplete type is undefined behaviour? http://stackoverflow.com/questions/2517245/why-really-deleting-an-incomplete-type-is-undefined-behaviour linker to work out the details later this just in thanks GMan whether delete is overloaded for the class. You can't call any..
const pointer assign to a pointer http://stackoverflow.com/questions/3316562/const-pointer-assign-to-a-pointer a variable to a constant except initializing it . EDIT As GMan pointed out the C 98 standard §4.2 2 allows to implicitly cast..
Universally compiler independant way of implementing an UNUSED macro in C/C++ http://stackoverflow.com/questions/4851075/universally-compiler-independant-way-of-implementing-an-unused-macro-in-c-c improve this question According to this answer by user GMan the typical way is to cast to void #define UNUSED x void x but..
How fast is D compared to C++? http://stackoverflow.com/questions/5142366/how-fast-is-d-compared-to-c as easy to handle as dmd right now. Thanks CyberShadow and GMan and all others Continuation of original question I compiled..
how to iterate into a smaller container (i.e. stride != 1) http://stackoverflow.com/questions/5424093/how-to-iterate-into-a-smaller-container-i-e-stride-1 1 str.get retun str char data 2 Based on comments by GMan struct FloatConverterFromBinary When the FloatConverterFromBinary..
Type erasure techniques http://stackoverflow.com/questions/5450159/type-erasure-techniques without virtual functions or void fiddling is the one GMan employs here with relevance to my question on how exactly this..
Circular Inclusion with Templates http://stackoverflow.com/questions/5467785/circular-inclusion-with-templates
Can I determine if an argument is string literal? http://stackoverflow.com/questions/5691232/can-i-determine-if-an-argument-is-string-literal improve this question YES Thanks to James McNellis and GMan for corrections. Updated to correctly handle concatenated literals..
Is there a generic way to adapt a function template to be a polymorphic function object? http://stackoverflow.com/questions/7033645/is-there-a-generic-way-to-adapt-a-function-template-to-be-a-polymorphic-function void f int void f double auto ff int i return f i As GMan pointed out in the comments polymorphic lambdas would should..
|