- , V++.
dogs, , std::ofstream, ++ 11.
, , [12.8/9] [12.8/11]. . .
dogs dog = dogs("dog.bin");
dogs dog ( , , ).
, .
Clang 3.5. GCC, , , ( - ).
, V++, OP, dogs, - , std::string . :
dogs(const string& location)
dogs(int a)
dogs(A a) //And change the call accordingly (A is a user-defined class).
V++, .
, std::string, , , . , , , .
, :
dogs(dogs&& arg) : dogsFile(std::move(arg.dogsFile)) { }
, , std::string .
, V++ .