I know that the default parameter(s) of a constructor can be either
hardcoded values or function calls. But can they be calls to static class
methods as well... example:
Constructor of my CoordinateFrame class:
CoordinateFrame (const Basis &basis = Basis::ORIGIN() , const Point &origin =
Point::ORIGIN() );
Thanks,
Martin
hardcoded values or function calls. But can they be calls to static class
methods as well... example:
Constructor of my CoordinateFrame class:
CoordinateFrame (const Basis &basis = Basis::ORIGIN() , const Point &origin =
Point::ORIGIN() );
Thanks,
Martin
Comment