Add is_valid() check for types
This commit is contained in:
parent
78d546f09c
commit
36425c096b
2 changed files with 99 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ namespace cppast
|
|||
friend detail::intrusive_list_node<cpp_type>;
|
||||
};
|
||||
|
||||
/// \returns `true` if the given [cppast::cpp_type]() is valid, `false` otherwise.
|
||||
/// Invalid types are, for example, references to references.
|
||||
bool is_valid(const cpp_type& type) noexcept;
|
||||
|
||||
/// An unexposed [cppast::cpp_type]().
|
||||
///
|
||||
/// This is one where no further information besides a name is available.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue