1 2 3 4 5 6 7
#include "structures.h" extern const std::string& constReference(); void foo() { const std::string UnnecessaryCopy = constReference(); }