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 67e13f42 authored by Quentin Khan's avatar Quentin Khan
Browse files

FBasicParticle: remove failure constructor

This constructor's aim was to provide a static_assert message that would
indicate the error. This could have hindered sfinae as the constructor
was seen as existing without failing compilation early.
parent ad5b120e
......@@ -132,21 +132,6 @@ public:
)
{}
/**
* \brief Failure constructor, make compilation fail when needed
*
* This constructor raises a compilation error if the parameter pack for the
* particle attributes is too long.
*
* \tparam Ts attribute parameter pack
*/
template<typename... Ts,
sfinae_check<!correct_attribute_list_size<Ts...>()> = 0>
FBasicParticle(const position_t&, Ts&&...)
{
static_assert(!sizeof...(Ts), "To many attributes given to particle constructor");
}
/// Constructor from tuple equivalent to #data_t
template<typename... Ts>
FBasicParticle(const std::tuple<Ts...>& ts) :
......
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