Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
f934f7a9
Commit
f934f7a9
authored
Jun 08, 2018
by
Paul
Browse files
Use and instead
parent
a740f253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/include/rtg/raw_data.hpp
src/include/rtg/raw_data.hpp
+2
-4
No files found.
src/include/rtg/raw_data.hpp
View file @
f934f7a9
...
...
@@ -101,8 +101,7 @@ struct raw_data : raw_data_base
template
<
class
T
,
class
U
,
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
T
>{}),
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
U
>
{})
>
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
T
>{}
&&
std
::
is_base_of
<
raw_data_base
,
U
>
{})
>
bool
operator
==
(
const
T
&
x
,
const
U
&
y
)
{
auto
&&
xshape
=
x
.
get_shape
();
...
...
@@ -124,8 +123,7 @@ bool operator==(const T& x, const U& y)
template
<
class
T
,
class
U
,
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
T
>{}),
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
U
>
{})
>
RTG_REQUIRES
(
std
::
is_base_of
<
raw_data_base
,
T
>{}
&&
std
::
is_base_of
<
raw_data_base
,
U
>
{})
>
bool
operator
!=
(
const
T
&
x
,
const
U
&
y
)
{
return
!
(
x
==
y
);
...
...
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