MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 507d927c authored by Quentin Khan's avatar Quentin Khan
Browse files

PerfTest driver: remove traits enumeration underlying bool type

This feature is not well supported by compilers. The traits values are
only used at comiple time.
parent bfaa0724
...@@ -30,10 +30,10 @@ namespace scalfmm { ...@@ -30,10 +30,10 @@ namespace scalfmm {
/// Disabled type trait specialisation /// Disabled type trait specialisation
template<class U> template<class U>
struct disabled<U, void_t<decltype(U::disabled)> > struct disabled<U, void_t<decltype(U::disabled)> >
{ enum : bool { value = U::disabled }; }; { enum { value = U::disabled }; };
/// Type trait value, true if the T is enabled /// Type trait value, true if the T is enabled
enum : bool {value = !disabled<T>::value}; enum {value = !disabled<T>::value};
}; };
/** /**
...@@ -150,19 +150,19 @@ namespace scalfmm { ...@@ -150,19 +150,19 @@ namespace scalfmm {
/// Shorthand for the tree factory type trait value /// Shorthand for the tree factory type trait value
enum : bool { has_tree_factory_v = enum { has_tree_factory_v =
has_tree_factory<tree_desc>::value }; has_tree_factory<tree_desc>::value };
/// Shorthand for the loader factory type trait value /// Shorthand for the loader factory type trait value
enum : bool { has_loader_factory_v = enum { has_loader_factory_v =
has_loader_factory<algo_desc>::value }; has_loader_factory<algo_desc>::value };
/// Shorthand for the kernel factory type trait value /// Shorthand for the kernel factory type trait value
enum : bool { has_kernel_factory_v = enum { has_kernel_factory_v =
has_kernel_factory<kernel_desc>::value }; has_kernel_factory<kernel_desc>::value };
/// Shorthand for the algorithm factory type trait value /// Shorthand for the algorithm factory type trait value
enum : bool { has_algo_factory_v = enum { has_algo_factory_v =
has_algo_factory<algo_desc>::value }; has_algo_factory<algo_desc>::value };
...@@ -224,7 +224,7 @@ namespace scalfmm { ...@@ -224,7 +224,7 @@ namespace scalfmm {
: std::true_type {}; : std::true_type {};
/// Type trait value, true if the build expression is declared /// Type trait value, true if the build expression is declared
enum : bool {value = valid_build_expression<algo_factory>::value}; enum {value = valid_build_expression<algo_factory>::value};
}; };
/** /**
...@@ -236,10 +236,10 @@ namespace scalfmm { ...@@ -236,10 +236,10 @@ namespace scalfmm {
/// Shorthand for the build compatibility type trait value /// Shorthand for the build compatibility type trait value
enum : bool { can_build_algo_v = can_build_algo<void>::value }; enum { can_build_algo_v = can_build_algo<void>::value };
/// Type trait value, true if the algorithm & kernel seem compatible /// Type trait value, true if the algorithm & kernel seem compatible
enum : bool { enum {
value = has_tree_factory_v value = has_tree_factory_v
&& has_loader_factory_v && has_loader_factory_v
&& has_kernel_factory_v && has_kernel_factory_v
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment