jamoma / JamomaCore

Jamoma Frameworks for Audio and Control Structure
Other
36 stars 14 forks source link

Use C++11 delegating constructors #340

Closed tap closed 8 years ago

tap commented 9 years ago

There are numerous places where we did ugly stuff to make it possible to share code amongst constructors of a class. In C++11 we can use delegating constructors. e.g. class Foo { public: Foo(char x, int y) {} Foo(int y) : Foo('a', y) {} };

tap commented 8 years ago

Jamoma2