2 ms·
That can be easily made to work in C++95. x can be of a smart pointer type (let's call it "var") which acts as reference to an anyobject class instance, which
by kazinator 11y ago
That can be easily made to work in C++95.
x can be of a smart pointer type (let's call it "var") which acts as reference to an anyobject class instance, which comes in varieties like string_anyobject, integer_anyobject and so on.
The smart pointer class can have a few assignment operators and conversion constructors for usage like var x = "lit"; or x = 5.