From 6664a24b003f3959e2efe2893628f725a5f6746f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Mar 2013 08:20:37 +0200 Subject: Add non-const versions of new_node() in graph container --- cutl/container/graph.hxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cutl/container/graph.hxx') diff --git a/cutl/container/graph.hxx b/cutl/container/graph.hxx index f803797..9c1afe2 100644 --- a/cutl/container/graph.hxx +++ b/cutl/container/graph.hxx @@ -86,6 +86,20 @@ namespace cutl new_node (A0 const&, A1 const&, A2 const&, A3 const&, A4 const&, A5 const&, A6 const&, A7 const&, A8 const&, A9 const&); + // Non-const versions. + // + template + T& + new_node (A0&); + + template + T& + new_node (A0&, A1&); + + template + T& + new_node (A0&, A1&, A2&); + public: template T& -- cgit v1.1