Skip to content

Commit 03edc1a

Browse files
committed
Fix version check for variadic structured bindings
1 parent c0b1ab3 commit 03edc1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tao/pq/internal/aggregate.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <tuple>
99
#include <type_traits>
1010

11-
#if !( ( __cpp_structured_bindings >= 202302L ) && ( __cplusplus >= 202302L ) )
11+
#if !( ( __cpp_structured_bindings >= 202400L ) && ( __cplusplus >= 202400L ) )
1212
#include <cstddef>
1313
#include <utility>
1414
#endif
@@ -18,7 +18,7 @@ namespace tao::pq::internal
1818

1919
// clang-format off
2020

21-
#if ( __cpp_structured_bindings >= 202302L ) && ( __cplusplus >= 202302L )
21+
#if ( __cpp_structured_bindings >= 202400L ) && ( __cplusplus >= 202400L )
2222

2323
template< typename T >
2424
requires( std::is_aggregate_v< T > && !std::is_empty_v< T > && !std::is_union_v< T > )

0 commit comments

Comments
 (0)