query: How to handle const/non const combination of getters without duplicate code?
positive_passages.docid: 6559
positive_passages.text: How do I remove code duplication between similar const and non-const member functions?
negative_passages.docid: 140727
negative_passages.text: How to include an enum value in a const string?
negative_passages.docid: 81310
negative_passages.text: What does a const cast do differently?
negative_passages.docid: 26930
negative_passages.text: Avoiding key construction for std::map::find()
negative_passages.docid: 145170
negative_passages.text: Is there any way to define a constant value to Java at compile time
negative_passages.docid: 77305
negative_passages.text: Does a const reference class member prolong the life of a temporary?
negative_passages.docid: 146206
negative_passages.text: How would contravariance be used in Java generics?
negative_passages.docid: 132902
negative_passages.text: const int = int const?
negative_passages.docid: 48189
negative_passages.text: Should I use #define, enum or const?
negative_passages.docid: 12036
negative_passages.text: Does the 'mutable' keyword have any purpose other than allowing the variable to be modified by a const function?
negative_passages.docid: 31384
negative_passages.text: How to initialize a const field in constructor?
negative_passages.docid: 75821
negative_passages.text: Really impossible to use return type overloading?
negative_passages.docid: 23073
negative_passages.text: c++ passing a const object reference to a function
negative_passages.docid: 41842
negative_passages.text: Is it possible to avoid repeating the class name in the implementation file?
negative_passages.docid: 66012
negative_passages.text: Returning a const reference to an object instead of a copy
negative_passages.docid: 117704
negative_passages.text: Overloading getter and setter causes a stack overflow in C#
negative_passages.docid: 99161
negative_passages.text: Throwing non-const temporaries by reference