types/tagged: use more explicit return types for tag
This commit is contained in:
parent
d5ba7e016f
commit
fdd8723bf4
@ -81,8 +81,8 @@ namespace cruft {
|
||||
|
||||
///--------------------------------------------------------------------
|
||||
/// Return the type code associated with the stored value.
|
||||
auto tag (void) const { return m_tag; }
|
||||
auto tag (void) { return m_tag; }
|
||||
tag_t tag (void) const { return m_tag; }
|
||||
tag_t tag (void) { return m_tag; }
|
||||
|
||||
|
||||
/// Returns true if the contained type is the same as the type
|
||||
|
Loading…
Reference in New Issue
Block a user