mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 22:17:02 +07:00
rename: ctor -> constructor, dtor -> destructor, parameter -> argument
This commit is contained in:
@@ -47,7 +47,7 @@ TEST_CASE("meta/meta_examples/classes/type") {
|
||||
// 'rectangle' class type registration
|
||||
meta::class_<rectangle>()
|
||||
.base_<shape>()
|
||||
.ctor_<int, int>()
|
||||
.constructor_<int, int>()
|
||||
.method_("get_width", &rectangle::get_width)
|
||||
.method_("get_height", &rectangle::get_height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user