Make the decoration implementation for types which aren't trivially or zero constructable use a boost::optional wrapper

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The wrapper will be the default, and the accessor for the decoration should auto-initialize the decoration the first time it's accessed.

      We should provide a way to disable the wrapping for specific decorations where it causes an issue.

            Assignee:
            Unassigned
            Reporter:
            Ronald Steinke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: