Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-util
Commits
bf63c7ab
Commit
bf63c7ab
authored
Mar 16, 2021
by
Joseph Mirabel
Committed by
Guilhem Saurel
Apr 13, 2021
Browse files
Switch to std::shared_ptr
parent
bd20e4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/hpp/util/pointer.hh
View file @
bf63c7ab
...
...
@@ -11,17 +11,17 @@
#ifndef HPP_UTIL_POINTER_HH
# define HPP_UTIL_POINTER_HH
# include <
boost/smart_ptr.hpp
>
# include <
memory
>
namespace
hpp
{
using
boo
st
::
shared_ptr
;
using
boo
st
::
weak_ptr
;
using
st
d
::
shared_ptr
;
using
st
d
::
weak_ptr
;
using
boo
st
::
static_pointer_cast
;
using
boo
st
::
dynamic_pointer_cast
;
using
boo
st
::
const_pointer_cast
;
using
st
d
::
static_pointer_cast
;
using
st
d
::
dynamic_pointer_cast
;
using
st
d
::
const_pointer_cast
;
using
boo
st
::
make_shared
;
using
st
d
::
make_shared
;
}
// namespace hpp
/// Defines the four types of smart pointers associated with type <tt>\a t</tt>.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment