A
Size: a a a
AD
m
m
CD
CD
АК
CD
АК
DS
АК
struct A {
std::vector<int> ok;
//std::tuple<std::vector<int>> bad;
A() noexcept = default;
};
ok
- ок, bad
приводит к exception specification of explicitly defaulted default constructor does not match the calculated one
CD
struct A {
std::vector<int> ok;
//std::tuple<std::vector<int>> bad;
A() noexcept = default;
};
ok
- ок, bad
приводит к exception specification of explicitly defaulted default constructor does not match the calculated one
АК
АК
struct A {
A() noexcept = default;
};
struct C {
std::tuple<A> bad1;
std::pair<A, A> bad2;
C() noexcept = default;
};
v
struct A {
A() noexcept = default;
};
struct C {
std::tuple<A> bad1;
std::pair<A, A> bad2;
C() noexcept = default;
};
AD
АК