diff options
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r-- | node/Topology.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp index 6bbbc297..ccf88c5c 100644 --- a/node/Topology.hpp +++ b/node/Topology.hpp @@ -191,6 +191,9 @@ public: /** * Apply a function or function object to all peers * + * Note: explicitly template this by reference if you want the object + * passed by reference instead of copied. + * * @param f Function to apply * @tparam F Function or function object type */ @@ -205,6 +208,9 @@ public: /** * Apply a function or function object to all supernode peers * + * Note: explicitly template this by reference if you want the object + * passed by reference instead of copied. + * * @param f Function to apply * @tparam F Function or function object type */ |