mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add bool_constant [N4334]
This commit is contained in:
parent
fbb95d9068
commit
a1f6d6ffc3
35 changed files with 198 additions and 106 deletions
|
@ -64,8 +64,7 @@ namespace sprout {
|
|||
|
||||
template<typename T>
|
||||
struct has_address_op
|
||||
: public sprout::integral_constant<
|
||||
bool,
|
||||
: public sprout::bool_constant<
|
||||
sprout::detail::has_mem_address_op<T>::value || sprout::detail::has_nonmem_address_op<T>::value
|
||||
>
|
||||
{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue