Skip to content

/cryptoTools/cryptoTools/Network/IoBuffer.h #48

@dngchnji-gmail

Description

@dngchnji-gmail
/*
*
*
*  /cryptoTools/cryptoTools/Network/IoBuffer.h
*
*/
template <typename F>
        class  RefSendBuff :public FixedSendBuff {
          public:
            const F& mObj;
            RefSendBuff(const F& obj)
                : FixedSendBuff(channelBuffData(*obj), channelBuffSize(*obj))
                , mObj(obj)
            {}

            RefSendBuff(RefSendBuff<F>&& v)
                :RefSendBuff(v.obj)                                                       // "v" have not obj    , I`m not sure. Could I replace "obj" with "mObj" .
            {}
        };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions