build: concept carveout for clang + std::copyable
This commit is contained in:
parent
a4c264d8db
commit
0068f6c0fd
1 changed files with 6 additions and 2 deletions
|
|
@ -24,12 +24,16 @@ namespace xo {
|
|||
// os << dist
|
||||
// is >> dist
|
||||
|
||||
} && std::copyable<Distribution>
|
||||
}
|
||||
#ifdef __clang__
|
||||
// std::copyable apparently not available in clang11 ?
|
||||
#else
|
||||
&& std::copyable<Distribution>
|
||||
&& std::copyable<typename Distribution::param_type>
|
||||
#endif
|
||||
&& std::equality_comparable<typename Distribution::param_type>;
|
||||
} /*namespace rng*/
|
||||
|
||||
} /*namespace xo*/
|
||||
|
||||
|
||||
/* end distribution_concept.hpp */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue