¡@

Home 

c++ Programming Glossary: defect

c++ why initializer_list behavior for std::vector and std::array are different

http://stackoverflow.com/questions/11400090/c-why-initializer-list-behavior-for-stdvector-and-stdarray-are-different

be elided in other uses of list initialization. There is a defect report concerning this restriction CWG defect #1270 . If the.. There is a defect report concerning this restriction CWG defect #1270 . If the proposed resolution is adopted brace elision..

why do lambda functions in C++11 not have function<> types?

http://stackoverflow.com/questions/11628765/why-do-lambda-functions-in-c11-not-have-function-types

to function but they are different. Is this a design issue defect of C 0x an implementation issue or is there a benefit in distinguishing..

splice() on std::list and iterator invalidation

http://stackoverflow.com/questions/143156/splice-on-stdlist-and-iterator-invalidation

share improve this question Ok this seems to be a defect in the standard according to this and this link. It seems that..

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

we should have Undefined Behavior . FURTHER EVIDENCE This defect report courtesy of Jesse Good proposes a change that is aimed..

C++ Static member initalization (template fun inside)

http://stackoverflow.com/questions/1819131/c-static-member-initalization-template-fun-inside

unit. Now as said in the usenet post and explained in this defect report these static data members are not defined in a translation..

Are multiple mutations of the same variable within initializer lists undefined behavior pre C++11

http://stackoverflow.com/questions/19881803/are-multiple-mutations-of-the-same-variable-within-initializer-lists-undefined-b

int count 23 int foo count count count which ends up as defect report 430 which I will quote ... I believe the standard is..

Default template arguments for function templates

http://stackoverflow.com/questions/2447458/default-template-arguments-for-function-templates

end Comp c Comp ... C 0x introduces them to C . See this defect report by Bjarne Stroustrup Default Template Arguments for Function..

Why was the definition of a variable changed during the development of C++11?

http://stackoverflow.com/questions/2908834/why-was-the-definition-of-a-variable-changed-during-the-development-of-c11

improve this question The change was in response to CWG defect 633 . The list of changes related to this can be found in n2993..

nested class access control in C++

http://stackoverflow.com/questions/3173520/nested-class-access-control-in-c

granted to members. Last time I checked the work on this defect was not finalized yet. Some compilers already implement whet..

I think I may have come up with an example of rvalue of array type

http://stackoverflow.com/questions/4058151/i-think-i-may-have-come-up-with-an-example-of-rvalue-of-array-type

I am incorrect in this case the question is is this a defect of the standard I don't know about 1 but I really doubt about.. The expression is an rvalue of array type. This is not a defect the committee knows about it and it was also a common issue..

Another bug in g++/Clang? [C++ Templates are fun]

http://stackoverflow.com/questions/4420828/another-bug-in-g-clang-c-templates-are-fun

. Notice that n3225 has that example too but it's not a defect there You can officially leave off template if you lookup into.. when non types are not ignored was added by a later defect report which all popular C 03 compilers implement though If..

Are IEEE floats valid key types for std::map and std::set?

http://stackoverflow.com/questions/4816156/are-ieee-floats-valid-key-types-for-stdmap-and-stdset

as far as I know. C 0x is the same. I wonder if there's a defect report or any point submitting one. It's also annoying in that..

how portable is end iterator decrement?

http://stackoverflow.com/questions/5322104/how-portable-is-end-iterator-decrement

the revision of the C standard that I have on hand has a defect with respect to Table 68. Proposed resolution Change the specification..

Why is std::for_each a non-modifying sequence operation?

http://stackoverflow.com/questions/662845/why-is-stdfor-each-a-non-modifying-sequence-operation

standards foreach share improve this question See this defect report they say The LWG believes that nothing in the standard..

How to capture a unique_ptr into a lambda expression?

http://stackoverflow.com/questions/8236521/how-to-capture-a-unique-ptr-into-a-lambda-expression

merely movable is insufficient. This could be considered a defect in C 11 but you would need some syntax to explicitly say that..

Why doesn't emplace_back() use uniform initialization?

http://stackoverflow.com/questions/8782895/why-doesnt-emplace-back-use-uniform-initialization

this question Great minds think alike v . I submitted a defect report and suggested a change to the standard on this very topic...

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

to be inserted. 13.3.1.4p1b1 is another matter see below . Defect 84 repaired the auto_ptr loophole i.e. auto_ptr Derived auto_ptr.. and 13.3.1.7 are constructors not conversion functions. Defect 978 corrects this 4 However when considering the argument of..

May I take the address of the one-past-the-end element of an array? [duplicate]

http://stackoverflow.com/questions/3144904/may-i-take-the-address-of-the-one-past-the-end-element-of-an-array

my memory was half correct this was part of an official Defect Report to the committee and at least some committee members..

nested class access control in C++

http://stackoverflow.com/questions/3173520/nested-class-access-control-in-c

improve this question This issue has been a matter of a Defect Report #10 and Defect Report #45 . The original and the current.. This issue has been a matter of a Defect Report #10 and Defect Report #45 . The original and the current C language standard.. class. But according to the proposed resolution in the Defect Report #45 the nested class should be given full access rights..

Why function template cannot be partially specialized?

http://stackoverflow.com/questions/5101516/why-function-template-cannot-be-partially-specialized

member of a class . You might look up the relevant DR Defect Report if there is one. EDIT checking this I find that others..

Accessing static member through invalid pointer: guaranteed to “work”?

http://stackoverflow.com/questions/5248877/accessing-static-member-through-invalid-pointer-guaranteed-to-work

member function through null pointer undefined see CWG Defect 315 This defect is closed and its resolution states that it..