Skip to content

Commit 01af4b3

Browse files
committed
Add future TODO
1 parent 92404f4 commit 01af4b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

include/xsimd/utils/bits.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace xsimd
2525
template <typename I, typename... Args>
2626
constexpr I make_bit_mask(I bit, Args... bits)
2727
{
28+
// TODO(C++17): Use fold expression
2829
return make_bit_mask<I>(bit) | make_bit_mask<I>(static_cast<I>(bits)...);
2930
}
3031

include/xsimd/xsimd_cpu_features_x86.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ namespace xsimd
116116
inline static x86_cpu_id read()
117117
{
118118
cpu_id_regs regs = {};
119+
// TODO(C++20): Use designated initializer
119120
regs.reg1 = detail::get_cpuid(0x1);
120121
regs.reg7 = detail::get_cpuid(0x7);
121122
regs.reg7a = detail::get_cpuid(0x7, 0x1);

0 commit comments

Comments
 (0)