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)
Why in order to use default constructor in Derived Class, we need a default constructor in the Base Class
As you have seen in the title i need to find the error in the code bellow,
Here is what i know:
I know that in order to use default constructor in B, we need a default constructor in A
What i don't ...
louis clement
Votes: 0
Answers: 2
std::filesystem::remove_all fails on read-only file
I am trying to remove a complete git repository clone from my disk using std::filesystem::remove_all()
std::filesystem::remove_all( myRepoName );
This throws an exception
terminate called after throw...
ravenspoint
Votes: 0
Answers: 1
Using std::nullopt as a default value for an std::optional argument in C++17
This is a standard / good coding practice question.
I've recently started using std::optional in my codebase. I think it's great (and verbose) for specifying an argument that's optional, so long as a ...
heothesennoc
Votes: 0
Answers: 1
boost::pfr with customized member
I'm trying to use boost::pfr for basic reflection, and it fails to compile when one of the member is customized type, like a class or struct, why is this? What's the way to fix it? I'm using C++17.
//...
fluter
Votes: 0
Answers: 2