TS
Size: a a a
TS
TS
C
class SuperPuperConfigFuncParamsЧто хочется:
{
public:
SuperPuperConfigFuncParams &SetDoSmth1() { do_smth_1 = true; return *those;}
SuperPuperConfigFuncParams &SetDoSmth2() { do_smth_2 = true; return *those; }
private:
bool do_smth_1, do_smth_2;
};
void SomeFunc(std::string_view SomeStr, const SuperPuperConfigFuncParams &Params);
SomeFunc("AAA", SuperPuperConfigFuncParams().SetDoSmth1());было что - то вроде
SomeFunc("AAA", {}.SetDoSmth1());(Да, иногда я хочу странного)
DP
SS
C
MA
MA
SS
T
MA
T
MA
T
MA
==7910==The signal is caused by a WRITE memory access.
==7910==Hint: address points to the zero page.
MA
T
K
MA
gdb ./main --compress 10
K
gdb --args ./main --compress 10