Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alvarez, Gonzalo
PsimagLite
Commits
f25fb204
Commit
f25fb204
authored
Dec 18, 2020
by
Alvarez, Gonzalo
Browse files
Revert "Loki::TypeTraits<T>::isArith includes long long int [unsigned]"
This reverts commit
e7b40c05
.
parent
6a678df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
loki/TypeTraits.h
View file @
f25fb204
...
...
@@ -31,21 +31,6 @@
#pragma warning( disable : 4180 ) //qualifier applied to function type has no meaning; ignored
#endif
template
<
typename
T
>
struct
LongLong
{
static
const
int
value
=
0
;
};
template
<
>
struct
LongLong
<
int
long
long
>
{
static
const
int
value
=
1
;
};
template
<
>
struct
LongLong
<
unsigned
int
long
long
>
{
static
const
int
value
=
1
;
};
namespace
Loki
{
////////////////////////////////////////////////////////////////////////////////
...
...
@@ -2225,7 +2210,7 @@ namespace Loki
enum
{
isSignedInt
=
isStdSignedInt
||
IsCustomSignedInt
<
UnqualifiedType
>::
value
};
enum
{
isIntegral
=
isStdIntegral
||
isUnsignedInt
||
isSignedInt
};
enum
{
isFloat
=
isStdFloat
||
IsCustomFloat
<
UnqualifiedType
>::
value
};
enum
{
isArith
=
isIntegral
||
isFloat
||
LongLong
<
T
>::
value
};
enum
{
isArith
=
isIntegral
||
isFloat
};
enum
{
isFundamental
=
isStdFundamental
||
isArith
};
typedef
typename
Select
<
isStdArith
||
isPointer
||
isMemberPointer
,
T
,
...
...
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