python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to use <stacktrace> in GCC trunk?
From https://github.com/gcc-mirror/gcc/commit/3acb929cc0beb79e6f4005eb22ee88b45e1cbc1d commit, C++ standard header <stacktrace> exists things such as std::stacktrace_entry but is not declared si...
Desmond Gold
Votes: 0
Answers: 1
Why is basic_string_view not limited to character types?
Browsing twitter I found this example of C++23 code.
This is my adaptation of it, to make more obvious what I am interested about(I do not care about dangling problems mentioned in replies).
#include ...
NoSenseEtAl
Votes: 0
Answers: 1
`error: exception specification of 'operator()<Iterator>' uses itself` when dealing with string_view
Consider following code:
run on gcc.godbolt.org
#include <string_view>
struct Iter
{
Iter() {}
Iter(std::string_view) {}
Iter begin() const
{
return *this;
}
};
It...

HolyBlackCat
Votes: 0
Answers: 0