Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
51b01727
Commit
51b01727
authored
Jan 15, 2018
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug withh g++ 7.2 but still have bugs with Clang 5.0
parent
cd5c3de3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
Src/Utils/variadic_container.hpp
Src/Utils/variadic_container.hpp
+7
-2
UTests/utestFBasicParticleContainer.cpp
UTests/utestFBasicParticleContainer.cpp
+5
-4
No files found.
Src/Utils/variadic_container.hpp
View file @
51b01727
...
...
@@ -98,6 +98,8 @@ public:
using
allocator_type_tuple
=
std
::
tuple
<
typename
Allocator
::
template
rebind
<
Types
>
::
other
...
>
;
constexpr
static
auto
indices
=
inria
::
make_index_sequence
<
sizeof
...(
Types
)
>
();
private:
template
<
typename
T
>
...
...
@@ -1306,8 +1308,11 @@ public:
using
pointer_tuple
=
std
::
tuple
<
Types
*
...
>
;
using
base_t
::
base_t
;
using
typename
base_t
::
tuple
;
variadic_vector_iterator
(
base_t
tup_in
)
:
base_t
(
tup_in
){}
/*
*/
// variadic_vector_iterator(base_t tup_in):(tup_in){}
/** \brief Assignment addition operator
*
* \param n Shift steps to apply to the iterator
...
...
UTests/utestFBasicParticleContainer.cpp
View file @
51b01727
#undef NDEBUG
#include <cassert>
#include <vector>
...
...
@@ -21,10 +22,10 @@ class testFBasicParticleContainer {
using
FParticleData
=
FParticle
::
tuple_data_t
;
static_assert
(
std
::
is_same
<
FParticleData
,
pack_expand_tuple
<
pack
<
3
,
FReal
>
,
pack
<
5
,
float
>
>
>::
value
,
""
);
std
::
is_same
<
FParticleData
,
pack_expand_tuple
<
pack
<
3
,
FReal
>
,
pack
<
5
,
float
>
>
>::
value
,
""
);
using
FPosition
=
FPoint
<
FReal
>
;
...
...
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