From 6ca1c8ee64bf7268d194eb15e72d3024a335039d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Sep 2009 08:20:12 +0200 Subject: Add root exception class Derive all other exceptions from it. --- cutl/container/graph.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cutl/container/graph.hxx') diff --git a/cutl/container/graph.hxx b/cutl/container/graph.hxx index 9d1c716..35650c1 100644 --- a/cutl/container/graph.hxx +++ b/cutl/container/graph.hxx @@ -7,12 +7,16 @@ #define CUTL_CONTAINER_GRAPH_HXX #include + +#include #include namespace cutl { namespace container { + struct no_edge: exception {}; + template class graph { @@ -20,8 +24,6 @@ namespace cutl typedef N node_base; typedef E edge_base; - struct no_edge {}; - public: template T& -- cgit v1.1