Searched refs:make_shared (Results 1 - 25 of 175) sorted by relevance

1234567

/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dmake_shared.volatile.pass.cpp14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
24 std::shared_ptr<T> p0 = std::make_shared<T>(t0);
25 std::shared_ptr<T> p1 = std::make_shared<T>(t1);
32 std::shared_ptr<const T> p0 = std::make_shared<const T>(t0);
33 std::shared_ptr<const T> p1 = std::make_shared<const T>(t1);
40 std::shared_ptr<volatile T> p0 = std::make_shared<volatile T>(t0);
41 std::shared_ptr<volatile T> p1 = std::make_shared<volatile T>(t1);
48 std::shared_ptr<const volatile T> p0 = std::make_shared<const volatile T>(t0);
49 std::shared_ptr<const volatile T> p1 = std::make_shared<const volatile T>(t1);
H A Dmake_shared.pass.cpp14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
74 std::shared_ptr<A> p = std::make_shared<A>(i, c);
82 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
84 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
94 std::shared_ptr<A> p = std::make_shared<A>(67, c);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dmake_shared.volatile.pass.cpp14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
24 std::shared_ptr<T> p0 = std::make_shared<T>(t0);
25 std::shared_ptr<T> p1 = std::make_shared<T>(t1);
32 std::shared_ptr<const T> p0 = std::make_shared<const T>(t0);
33 std::shared_ptr<const T> p1 = std::make_shared<const T>(t1);
40 std::shared_ptr<volatile T> p0 = std::make_shared<volatile T>(t0);
41 std::shared_ptr<volatile T> p1 = std::make_shared<volatile T>(t1);
48 std::shared_ptr<const volatile T> p0 = std::make_shared<const volatile T>(t0);
49 std::shared_ptr<const volatile T> p1 = std::make_shared<const volatile T>(t1);
H A Dmake_shared.pass.cpp14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
74 std::shared_ptr<A> p = std::make_shared<A>(i, c);
82 std::shared_ptr<Foo> p1 = std::make_shared<Foo>();
84 std::shared_ptr<const Foo> p2 = std::make_shared<const Foo>();
94 std::shared_ptr<A> p = std::make_shared<A>(67, c);
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/benchmarks/
H A Dutil_smartptr.bench.cpp16 auto sp = std::make_shared<int>(42);
23 auto sp = std::make_shared<int>(42);
33 auto sp = std::make_shared<int>(42);
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/benchmarks/
H A Dutil_smartptr.bench.cpp16 auto sp = std::make_shared<int>(42);
23 auto sp = std::make_shared<int>(42);
33 auto sp = std::make_shared<int>(42);
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/linux-x86/clang-4630689/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/linux-x86/clang-4639204/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/linux-x86/clang-4691093/include/clang/Tooling/Refactoring/
H A DRefactoringOption.h58 return std::make_shared<OptionType>();
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/linux-x86/clang-4479392/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());
/prebuilts/clang/host/linux-x86/clang-4579689/include/clang/Tooling/
H A DRefactoring.h44 std::make_shared<PCHContainerOperations>());

Completed in 1245 milliseconds

1234567