Boost logo

Boost-Commit :

From: hervebronnimann_at_[hidden]
Date: 2007-06-28 23:00:38


Author: hervebronnimann
Date: 2007-06-28 23:00:38 EDT (Thu, 28 Jun 2007)
New Revision: 7307
URL: http://svn.boost.org/trac/boost/changeset/7307

Log:
A few typos, a missing "typename", and a makefile to compile everything.

Added:
   sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/Makefile.dbg_exc_mt
Text files modified:
   sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/bidirectional_hds_concept.t.cpp | 8 ++++----
   sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/mutable_forward_hds_concept.t.cpp | 13 +++++++------
   2 files changed, 11 insertions(+), 10 deletions(-)

Added: sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/Makefile.dbg_exc_mt
==============================================================================
--- (empty file)
+++ sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/Makefile.dbg_exc_mt 2007-06-28 23:00:38 EDT (Thu, 28 Jun 2007)
@@ -0,0 +1,99 @@
+CXX=g++
+CXXFLAGS=-pedantic -W -Wall -I${BOOST} -I.
+
+LD=g++
+
+TARGET=dbg_exc_mt
+
+PACKAGE_OBJECTS=backward_hds_concept.o \
+ bidirectional_hds_concept.o \
+ facet_hds_concept.o \
+ forward_hds_concept.o \
+ hds_concept.o \
+ mutable_forward_hds_concept.o \
+ mutable_hds_concept.o \
+ vertex_hds_concept.o
+
+PACKAGE_LIBRARY=libhds_concepts.a
+
+TEST_DRIVERS=backward_hds_concept.t \
+ bidirectional_hds_concept.t \
+ facet_hds_concept.t \
+ forward_hds_concept.t \
+ hds_concept.t \
+ mutable_forward_hds_concept.t \
+ mutable_hds_concept.t \
+ vertex_hds_concept.t
+
+.SUFFIXES:
+.SUFFIXES: ${TARGET}.o .o .cpp .hpp
+
+all: package_library test
+
+
+### BUILDING PACKAGE LIBRARY AND DEPENDENCIES
+
+package_library: ${PACKAGE_OBJECTS}
+ ar -rv ${PACKAGE_LIBRARY} ${PACKAGE_OBJECTS}
+
+%.o: %.cpp %.h
+ ${CXX} ${CXXFLAGS} ${CXXINCLUDES} -c -o $*.o $<
+
+backward_hds_concept.o: hds_concept.hpp
+bidirectional_hds_concept.o: forward_hds_concept.hpp \
+ backward_hds_concept.hpp hds_concept.hpp
+facet_hds_concept.o: hds_concept.hpp
+forward_hds_concept.o: hds_concept.hpp
+hds_concept.o:
+mutable_forward_hds_concept.o: forward_hds_concept.hpp \
+ hds_concept.hpp mutable_hds_concept.hpp
+mutable_hds_concept.o: hds_concept.hpp
+vertex_hds_concept.o: hds_concept.hpp
+
+
+### BUILDING TEST DRIVERS AND DEPENDENCIES OF TEST DRIVER
+
+test: ${TEST_DRIVERS}
+ for file in ${TEST_DRIVERS}; do echo "******* TESTING $$file *********"; ./$$file; done
+
+%.t: %.t.o %.o
+ ${LD} ${LDFLAGS} -o $*.t $^
+
+backward_hds_concept.t.o: hds_concept.hpp
+bidirectional_hds_concept.t.o: forward_hds_concept.hpp \
+ backward_hds_concept.hpp hds_concept.hpp
+facet_hds_concept.t.o: hds_concept.hpp
+forward_hds_concept.t.o: hds_concept.hpp
+hds_concept.t.o:
+mutable_forward_hds_concept.t.o: forward_hds_concept.hpp \
+ hds_concept.hpp mutable_hds_concept.hpp
+mutable_hds_concept.t.o: hds_concept.hpp
+vertex_hds_concept.t.o: hds_concept.hpp
+
+%.t.o: %.t.cpp %.h
+ ${CXX} ${CXXFLAGS} ${CXXINCLUDES} -c -o $*.t.o $<
+
+backward_hds_concept.t: hds_concept.o
+bidirectional_hds_concept.t: forward_hds_concept.o \
+ backward_hds_concept.o hds_concept.o
+facet_hds_concept.t.o: hds_concept.o
+forward_hds_concept.t.o: hds_concept.o
+hds_concept.t.o:
+mutable_forward_hds_concept.t.o: forward_hds_concept.o \
+ hds_concept.o mutable_hds_concept.o
+mutable_hds_concept.t.o: hds_concept.o
+vertex_hds_concept.t.o: hds_concept.o
+
+
+## UTILITIES
+
+clean: testclean
+
+testclean:
+ - rm *.t.o
+ - rm *.t
+
+realclean:
+ - rm *.o
+ - rm ${PACKAGE_LIBRARY}
+

Modified: sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/bidirectional_hds_concept.t.cpp
==============================================================================
--- sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/bidirectional_hds_concept.t.cpp (original)
+++ sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/bidirectional_hds_concept.t.cpp 2007-06-28 23:00:38 EDT (Thu, 28 Jun 2007)
@@ -24,10 +24,10 @@
         // This 'struct', intentionally defined in a namespace different from
         // 'hdstl', the 'hds_traits' specialization defined in the namespace
         // 'hdstl', and the supporting functions 'opposite', 'next_in_facet',
- // 'next_at_source', and 'next_at_target' defined in the same
- // namespace as this 'struct' to take advantage of ADL
- // (argument-dependent lookup) provide an archetype for the 'ForwardHDS'
- // concept.
+ // 'next_at_source', 'next_at_target', prev_in_facet', prev_at_source'
+ // and 'prev_at_target' defined in the same namespace as this 'struct'
+ // to take advantage of ADL (argument-dependent lookup) provide an
+ // archetype for the 'ForwardHDS' and 'BackwardHDS' concepts.
 
         typedef int halfedge_descriptor;
         typedef TT traversal_category;

Modified: sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/mutable_forward_hds_concept.t.cpp
==============================================================================
--- sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/mutable_forward_hds_concept.t.cpp (original)
+++ sandbox/SOC/2007/geometry/libs/hdstl/dev/hds_concepts/mutable_forward_hds_concept.t.cpp 2007-06-28 23:00:38 EDT (Thu, 28 Jun 2007)
@@ -47,7 +47,7 @@
     typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor
     next_in_facet(typename mutable_forward_hds_archetype<ForwardCategory>
                                                         ::halfedge_descriptor h,
- const mutable_forward_hds_archetype<ForwardCategory>&)
+ const mutable_forward_hds_archetype<ForwardCategory>&)
     {
         return h;
     }
@@ -56,7 +56,7 @@
     typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor
     next_at_source(typename mutable_forward_hds_archetype<ForwardCategory>
                                                         ::halfedge_descriptor h,
- const mutable_forward_hds_archetype<ForwardCategory>&)
+ const mutable_forward_hds_archetype<ForwardCategory>&)
     {
         return h;
     }
@@ -65,7 +65,7 @@
     typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor
     next_at_target(typename mutable_forward_hds_archetype<ForwardCategory>
                                                         ::halfedge_descriptor h,
- const mutable_forward_hds_archetype<ForwardCategory>&)
+ const mutable_forward_hds_archetype<ForwardCategory>&)
     {
         return h;
     }
@@ -104,14 +104,15 @@
     typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor
     new_edge(mutable_forward_hds_archetype<ForwardCategory>&)
     {
- return mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor();
+ return typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor();
     }
 
     template<typename ForwardCategory>
     void
     delete_edge(typename mutable_forward_hds_archetype<ForwardCategory>::halfedge_descriptor,
- mutable_forward_hds_archetype<ForwardCategory>&)
- { }
+ mutable_forward_hds_archetype<ForwardCategory>&)
+ {
+ }
 
 } // namespace hdstl
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk