¡@

Home 

c++ Programming Glossary: johannes

Is it possible to invoke a user-defined conversion function via list-initialization?

http://stackoverflow.com/questions/12677711/is-it-possible-to-invoke-a-user-defined-conversion-function-via-list-initializat

having gone through all that I've found a discussion by Johannes Schaub that confirms this analysis This is intended to factor..

What is the difference between a definition and a declaration?

http://stackoverflow.com/questions/1410563/what-is-the-difference-between-a-definition-and-a-declaration

no other forms of class declarations in C . Thanks to litb Johannes Schaub who dug out the actual chapter and verse in one of his..

What am I allowed to do with a static, constexpr, in-class initialized data member?

http://stackoverflow.com/questions/14547986/what-am-i-allowed-to-do-with-a-static-constexpr-in-class-initialized-data-memb

static data member a book mentioned this to be illegal . Johannes Schaub's answer states that This violates the One Definition..

Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB?

http://stackoverflow.com/questions/14935722/does-initialization-entail-lvalue-to-rvalue-conversion-is-int-x-x-ub

Another evidence is found in 4 8 as pointed out by Johannes Schaub in the comments to linked Q A There are some contexts..

A positive lambda: '+[]{}' - What sorcery is this? [duplicate]

http://stackoverflow.com/questions/18889028/a-positive-lambda-what-sorcery-is-this

The question was answered and all seemed fine. Then came Johannes Schaub and made an interesting observation If you put a before..

what is/are the purpose(s) of inline?

http://stackoverflow.com/questions/3647053/what-is-are-the-purposes-of-inline

is are the purpose s of inline I had a discussion with Johannes Schaub regarding the keyword inline . The code there was this.. function even those not marked as inline functions. Johannes however states that there are other benefits of explicitly specifying..

Unsequenced value computations (a.k.a sequence points)

http://stackoverflow.com/questions/3852768/unsequenced-value-computations-a-k-a-sequence-points

of the papers by Boehm and friends wrote. Edit #3 Thanks Johannes for coping with my laziness to type sequenced into my PDF reader.. That's cool. Edit #4 Oh what a tangled web we weave Johannes notes again that in i i the glvalue a.k.a. the address of i..

Will a “variableName;” C++ statement be a no-op at all times?

http://stackoverflow.com/questions/4030959/will-a-variablename-c-statement-be-a-no-op-at-all-times

we really end up with zero. This trick brought to you by Johannes . Also as noted if the above wasn't enough a stupid enough compiler..

C++: null reference

http://stackoverflow.com/questions/4364536/c-null-reference

example the effect of dereferencing the null pointer As Johannes says in a deleted answer there's some doubt whether dereferencing..

Use of typename keyword with typedef and new

http://stackoverflow.com/questions/4421306/use-of-typename-keyword-with-typedef-and-new

use typedef and new EDIT after reading this response from Johannes Schaub typedef NOT followed by a type int typedef A This syntax..

Using export keyword with templates

http://stackoverflow.com/questions/5416872/using-export-keyword-with-templates

it behave as you'd expect from a regular function. Note as Johannes points out in a comment if a full specialization of a function..

What is the meaning of “… …” token? i.e. double ellipsis operator on parameter pack

http://stackoverflow.com/questions/5625600/what-is-the-meaning-of-token-i-e-double-ellipsis-operator-on-paramet

with .. This is within an abstract declarator edit but Johannes makes a good point that they are referring to an abstract declarator..

Why 'this' is a pointer and not a reference?

http://stackoverflow.com/questions/645994/why-this-is-a-pointer-and-not-a-reference

to a char const pointer after array to pointer conversion Johannes Schaub litb Dec 22 '08 at 1 56 That only shows that it doesn't.. to const. T const . but the pointer itself is nonconst Johannes Schaub litb Dec 22 '08 at 17 53 think of this like this #define.. it is there is no such macro but it can help understand it Johannes Schaub litb Dec 22 '08 at 17 55 My question is why this is a..

C++ Conversion operator for converting to function pointer

http://stackoverflow.com/questions/6755673/c-conversion-operator-for-converting-to-function-pointer

return _funcPtr Fixed. Again. Update I've been informed by Johannes Schraub and Luc Danton that this syntax is in fact not valid..

Understanding the meaning of the term and the concept - RAII (Resource Acquisition is Initialization)

http://stackoverflow.com/questions/712639/understanding-the-meaning-of-the-term-and-the-concept-raii-resource-acquisiti

be complete just a sample but turned out incorrect. Thanks Johannes Schaub for pointing out and FredOverflow for turning it into..