Fast polymorphic down-casting functions.
More...
|
| | utility |
| | unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 1.
|
| |
|
| template<class Target , class Source > |
| Target | utility::down_cast (Source &s) |
| | Fast assert-checked polymorphic down-cast: reference argument. More...
|
| |
| template<class Target , class Source > |
| Target | utility::down_cast (Source *p) |
| | Fast assert-checked polymorphic down-cast: pointer argument. More...
|
| |
Fast polymorphic down-casting functions.
- Author
- Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)
- Note
- A fast polymorphic down-cast when the cast is known to be valid
-
The cast validity is assert-checked in debug builds