The C ++ Standard Library (including std::unique_ptr) is part of the language.
In addition, relevant programs are not allowed to add declarations and definitions to the namespace std.
After viewing the instance, the std::unique_ptr<T>compiler knows everything about the behavior of this instance - it is this behavior that was implemented as part of the language implementation, the compiler itself is part, and the compiler is free to perform “special optimizations” based on the guarantees of the C ++ standard.
-, , GCC C99 - inline insn - , GCC , .