Debian Codegraph @

documentation/manual/directives/weaktags.yo

raw
1 Syntax: bf(%weak-tags)
2
3 By default, the tt(%polymorphic) directive declares a strongly typed enum:
4 tt(enum class Tag_), and code generated by bic() always uses the tt(Tag_)
5 scope when referring to tag identifiers. It is often possible (by
6 pre-associating tokens with tags, using tt(%type) directives) to avoid
7 the use of tags in user-code.
8
9 If tags em(are) explicitly used, then they must be prefixed with the tt(Tag_)
10 scope. Before the arrival of the C++-11 standard strongly typed enumerations
11 didn't exist, and explicit enum-type scope prefixes were usually omitted.
12
13 The tt(%weak-tags) directive can be specified when the tt(Tag_) enum should
14 em(not) be declared as a strongly typed enum. This directive should not be
15 used, unless you know what you're doing.