mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
mapi: Add alternate simple constructor.
This commit is contained in:
parent
db3d770b9d
commit
68a1d161b9
1 changed files with 11 additions and 0 deletions
|
@ -72,8 +72,19 @@ struct header
|
|||
header(const char *const &desc,
|
||||
const enum flags &flags,
|
||||
Exports&&... exports);
|
||||
|
||||
header(const char *const &desc = "<no description>");
|
||||
};
|
||||
|
||||
inline
|
||||
header::header(const char *const &desc)
|
||||
:header
|
||||
{
|
||||
desc, NO_FLAGS
|
||||
}
|
||||
{
|
||||
}
|
||||
|
||||
template<class... Exports>
|
||||
header::header(const char *const &desc,
|
||||
const enum flags &flags,
|
||||
|
|
Loading…
Add table
Reference in a new issue