justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.

Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Is there a design constraint that TypedBuf does not provide operator= and CopyFrom? In some cases I just use GetHeapBuf, etc, but I would love to hear the reasoning behind the decision. Excellent stuff, thanks!
Asked by Gio (79.130.181.x) on December 31 2018, 2:42am
Reply on December 31 2018, 2:44am:
    No need -- HeapBuf implements the copy operator, and TypedBuf just uses a HeapBuf, so you can do:
    WDL_TypedBuf<foo> a = b;

    Your Name:   -- Site Owner's Name:  (for human-verification)


[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2019 Justin Frankel. | RSS