senf::ComplexAnnotation Struct Reference

Marker base-class for complex annotations. More...

#include <senf/Packets/PacketImpl.hh>

Detailed Description

Marker base-class for complex annotations.

This class is used as a base class to mark an annotation type as complex. A complex annotation will have it's constructor/destructor called. Non-complex annotations will not have their constructor called, they will be zero initialized. The destructor of non-complex annotations is never called.

An annotation must be marked as complex if it is not POD. Simplified, an annotation must be marked as ComplexAnnotation, if

  • it has a (user defined) constructor or destructor
  • it has any data members which have (user defined) constructors or destructors
See also
Annotations

Definition at line 60 of file PacketImpl.hh.


The documentation for this struct was generated from the following file: