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
gaoqiong
pybind11
Commits
7393343f
Commit
7393343f
authored
Mar 26, 2016
by
Wenzel Jakob
Browse files
removed unnecessary code
parent
d3349af4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
include/pybind11/common.h
include/pybind11/common.h
+0
-5
No files found.
include/pybind11/common.h
View file @
7393343f
...
@@ -257,11 +257,6 @@ template <typename T> struct is_copy_constructible {
...
@@ -257,11 +257,6 @@ template <typename T> struct is_copy_constructible {
static
const
bool
value
=
std
::
is_same
<
std
::
true_type
,
decltype
(
test
<
T
>
(
nullptr
))
>::
value
;
static
const
bool
value
=
std
::
is_same
<
std
::
true_type
,
decltype
(
test
<
T
>
(
nullptr
))
>::
value
;
};
};
template
<
typename
T
,
template
<
typename
...
>
class
Template
>
struct
is_specialization_of
:
std
::
false_type
{};
template
<
template
<
typename
...
>
class
Template
,
typename
...
Args
>
struct
is_specialization_of
<
Template
<
Args
...
>
,
Template
>
:
std
::
true_type
{};
/// Helper type to replace 'void' in some expressions
/// Helper type to replace 'void' in some expressions
struct
void_type
{
};
struct
void_type
{
};
...
...
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