Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
3b67620c
Commit
3b67620c
authored
Sep 05, 2014
by
Davis King
Browse files
Merge
parents
5bcfe4f6
f61432c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
31 deletions
+16
-31
dlib/noncopyable.h
dlib/noncopyable.h
+16
-31
No files found.
dlib/noncopyable.h
View file @
3b67620c
...
@@ -7,14 +7,9 @@
...
@@ -7,14 +7,9 @@
#ifndef DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
#ifndef DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
#define DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
#define DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
#ifndef BOOST_NONCOPYABLE_HPP_INCLUDED
#define BOOST_NONCOPYABLE_HPP_INCLUDED
namespace
boost
namespace
dlib
{
{
namespace
noncopyable_
// protection from unintended ADL
{
class
noncopyable
class
noncopyable
{
{
/*!
/*!
...
@@ -27,20 +22,10 @@ namespace boost
...
@@ -27,20 +22,10 @@ namespace boost
noncopyable
()
{}
noncopyable
()
{}
~
noncopyable
()
{}
~
noncopyable
()
{}
private:
// emphasize the following members are private
private:
// emphasize the following members are private
noncopyable
(
const
noncopyable
&
);
noncopyable
(
const
noncopyable
&
);
const
noncopyable
&
operator
=
(
const
noncopyable
&
);
const
noncopyable
&
operator
=
(
const
noncopyable
&
);
};
}
typedef
noncopyable_
::
noncopyable
noncopyable
;
}
// namespace boost
};
#endif // BOOST_NONCOPYABLE_HPP_INCLUDED
namespace
dlib
{
using
boost
::
noncopyable
;
}
}
#endif // DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
#endif // DLIB_BOOST_NONCOPYABLE_HPP_INCLUDED
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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