6 Commits (4f1481b5898fe6c4d0cbbb533a5cc62e86dbc31d)
 

Author SHA1 Message Date
Avril 4f1481b589
Added rudimentary type-checking to make `try_cast` work. However, this breaks use with incomplete types, which is not acceptable...
3 years ago
Avril 437037e8c6
Fix segfault in `opaque_handle` copy testing
3 years ago
Avril d0558318b0
Tested all variants of `make_opaque_handle()`, they all work. `opaque_handle` workable in a project; however. `try_cast()` does not work correctly and will not return `nullptr` if the types are wrong. TODO: Fixing this will require a refactor to use another inheritance graph of objects instead of `void*`, however, this is intended for work using C interfaces, so it"s not a high priority for it to work on polymorphic types.
3 years ago
Avril e8813d52eb
All `make_opaque_handle()` functions cause compiler segfault at `constexpr bool is_nothrow`; they should be changed to #define macros.
3 years ago
Avril 742aa072ec
`make_opaque_handle()` causes compiler to segfault when defining constexpr local shorthand for local class"s `noexcept`s: `is_nothrow`
3 years ago
Avril 70d92c60b1
Initial commit
3 years ago