|
xtd
0.2.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
23 template<
class type_t,
class ...args_t>
27 template<
class type_t>
28 ptr<type_t>
new_ptr(
const type_t& arg) {
return ptr<type_t> {
new type_t(arg)};}
30 template<
class type_t>
31 ptr<type_t>
new_ptr() {
return ptr<type_t>(
new type_t);}
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
ptr< type_t > new_ptr(args_t &&... args)
The xtd::new_ptr operator creates a xtd::ptr object.
Definition new_ptr.hpp:24
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10