Павел Новиков расскажет о базовой реализации type erasure (т.н. «стирание типов») в C++. Посмотрим, как она работает на примере обертки с семантикой значения.
Подробности и билеты: https://t.co/MuJM0PVyNC
Слова «C++» и «JSON» нечасто встречаются в одном названии.
Но тем интереснее послушать такой доклад, и в этот #плюсочетверг открываем его запись: https://t.co/GOB7DfUNzl
if(((x==42)||...))
error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
...
note: remove extraneous parentheses around the comparison to silence this warning
ok
if((x == 42||...))
error: expression not permitted as operand of fold expression
This is how I tryied to use certain performance benchmark suite.
< python run_benchmark list
> SyntaxError: invalid syntax
oh, can't use python 2.7 that already comes within the package, OK, let's try the latest 3.11.4...
< ...\Python\Python311\python.exe run_benchmark list
> AttributeError: module 'inspect' has no attribute 'getargspec'
oh, 3.11 changed it in a backwards incompatible way, OK, let's use 3.10, but not the latest version, because there are no readily available binaries for it...