Skip to content

Conversation

tzneal
Copy link
Contributor

@tzneal tzneal commented Mar 5, 2015

This lets you create functions that return message_t's by value, and
pass them to send() with no copy.

@@ -441,6 +441,13 @@ namespace zmq
throw error_t ();
}

#ifdef ZMQ_HAS_RVALUE_REFS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preprocessor lines are not indented throughout the file.

This lets you create functions that return message_t's by value, and
pass them to send() with no copy.
@kobolog
Copy link
Member

kobolog commented Mar 6, 2015

Yes, thank you.

kobolog pushed a commit that referenced this pull request Mar 6, 2015
Add an rvalue overload for socket_t::send
@kobolog kobolog merged commit ac705f6 into zeromq:master Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants