Searched refs:returns_owner2 (Results 1 – 1 of 1) sorted by relevance
34 gsl::owner<int *> returns_owner2() { return new int(42); } // Ok in returns_owner2() function96 …const auto owned_int8 = returns_owner2(); // Ok, since type deduction does not eliminate the owner… in test_assignment_and_initialization()