Add cpp_function_template
This commit is contained in:
parent
edb132981a
commit
93c6e0f44c
6 changed files with 71 additions and 0 deletions
|
|
@ -112,6 +112,13 @@ namespace cppast
|
|||
return std::move(function);
|
||||
}
|
||||
|
||||
/// \returns The finished function without registering it.
|
||||
/// \notes This is intended for templated functions only.
|
||||
std::unique_ptr<T> finish()
|
||||
{
|
||||
return std::move(function);
|
||||
}
|
||||
|
||||
protected:
|
||||
basic_builder() = default;
|
||||
~basic_builder() noexcept = default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue