Skip to main content
L. F.'s user avatar
L. F.'s user avatar
L. F.'s user avatar
L. F.
  • Member for 7 years, 9 months
  • Last seen this week
147 votes

What is a modern way to filter a container?

65 votes
Accepted

Can I take the address of a function defined in standard library?

42 votes

Is it possible to test if a constexpr function is evaluated at compile time?

35 votes

How can I check type T is among parameter pack Ts...?

28 votes
Accepted

How to use C++20 <format> in CMake project

27 votes
Accepted

while statement with initializer

23 votes
Accepted

Why can an initializer list only be used on declaration?

21 votes

SFINAE works with deduction but fails with substitution

18 votes

Can you std::bit_cast to a std::array to obtain the bytes of an object?

18 votes

Are there any realistic use cases for `decltype(auto)` variables?

17 votes
Accepted

C++20: Concepts of multiple types and its constraint, correct syntax?

16 votes
Accepted

Why doesn't std::deque allow specifying the bucket size?

16 votes
Accepted

Can a non-type template parameter be of type "void*"?

15 votes
Accepted

Is it legal to define an anonymous struct?

15 votes
Accepted

Can I add a deduction guide to `std` namespace?

15 votes
Accepted

why is std::variant permitted to hold the same type more than once?

14 votes
Accepted

How to iterate over two containers sequentially

14 votes

Why is a borrowed range not an iterator, but the range is?

14 votes

Do std::make_shared and std::make_unique have a "nothrow" version?

13 votes

Does C++11 change the behavior of explicitly calling std::swap to ensure ADL-located swap's are found, like boost::swap?

12 votes
Accepted

How to deduce the return type of a lambda?

12 votes
Accepted

Why is it so convoluted to get the date and/or time in C++?

12 votes
Accepted

Why does std::ofstream truncate without std::ios_base::trunc?

12 votes

Does it make sense to surround std::lock_guard with an extra scope to reduce the size of the critical section?

11 votes
Accepted

What is the C++ way to do this instead of using function pointers?

11 votes
Accepted

Integer operation with boundary when overflow in Rust

11 votes
Accepted

Using placement new in generic programming

10 votes
Accepted

Why do cv-qualifiers get removed from function return type in some cases?

10 votes
Accepted

Why does the string introduced by the sv suffix not expire?

9 votes
Accepted

C++ "value++" causes warning but "value+1" doesn't?

1
2 3 4 5
13