From 729b56300c441a0d63c7d2013eb5a881211d352b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Jul 2015 12:20:53 +0200 Subject: Initial support for target type/pattern-specific variables --- build/target-type | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build/target-type') diff --git a/build/target-type b/build/target-type index d5e7971..154714c 100644 --- a/build/target-type +++ b/build/target-type @@ -42,6 +42,12 @@ namespace build is_a () const {return is_a (typeid (T));} }; + inline bool + operator< (const target_type& x, const target_type& y) + { + return x.id < y.id; + } + inline std::ostream& operator<< (std::ostream& os, const target_type& tt) { -- cgit v1.1