From 12b526dff7159711be379e30ce266efb03ee3d56 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 14 Mar 2016 19:54:25 +1100 Subject: [PATCH] coord/ops: ensure coord funcs only receive coords --- coord/ops.hpp | 202 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 137 insertions(+), 65 deletions(-) diff --git a/coord/ops.hpp b/coord/ops.hpp index fa83152f..ad1a4ea1 100644 --- a/coord/ops.hpp +++ b/coord/ops.hpp @@ -57,6 +57,10 @@ namespace util { template <> struct is_coord : std::true_type { }; template <> struct is_coord : std::true_type { }; + template