Quantcast
Channel: Question about std::make_pair & std::atomic_bool - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Jeff Garrett for Question about std::make_pair & std::atomic_bool

A reduced example is this:struct destination_t { destination_t(int) {} destination_t(const destination_t&) = delete;};static_assert(std::is_constructible< std::pair<const int,...

View Article



Question about std::make_pair & std::atomic_bool

Why this code snippet does not compile with gcc 4.9.0,whereas it works well with gcc 12.1.The same code snippet is compiled with the same option.Here is the code...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images