asn1-compiler icon indicating copy to clipboard operation
asn1-compiler copied to clipboard

Adapt asn.1 compiler to generate c++17 compliant code

Open rcapurro-core opened this issue 4 years ago • 1 comments

Right now the generated C++ code by the compiler do not compile under the C++17 standard due to the use of deprecated std::mem_fun1_t() and std::bind1st() functions. See https://en.cppreference.com/w/cpp/utility/functional/mem_fun_t and https://en.cppreference.com/w/cpp/utility/functional/bind12 Also may be the runtime library should be updated, not sure of the impact.

rcapurro-core avatar Jul 16 '21 18:07 rcapurro-core

Sounds good to me. It would be necessary to decide if C+11/14 support is still required while dropping above functions. If you are interested to have this, please provide a PR, I'll support reviews.

tysonite avatar Jul 17 '21 11:07 tysonite