[PPL-devel] [GIT] ppl/ppl(master): Revert "Revert " Avoid anonymous namespaces in header files.""

Roberto Bagnara bagnara at cs.unipr.it
Tue Nov 1 18:03:56 CET 2011


Module: ppl/ppl
Branch: master
Commit: bebce077e0648434fb0cf119fbb4ecda69e13cc2
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=bebce077e0648434fb0cf119fbb4ecda69e13cc2

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Nov  1 17:02:56 2011 +0100

Revert "Revert "Avoid anonymous namespaces in header files.""

This reverts commit 3fbf4608f85679fc85f89d82f40fb20e0e60ca16.

---

 src/Box.templates.hh |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/Box.templates.hh b/src/Box.templates.hh
index f1ea6c4..a89ce3c 100644
--- a/src/Box.templates.hh
+++ b/src/Box.templates.hh
@@ -2296,7 +2296,9 @@ Box<ITV>::refine_no_check(const Congruence_System& cgs) {
 }
 
 #if 1 // Alternative implementations for propagate_constraint_no_check.
-namespace {
+namespace Implementation {
+
+namespace Boxes {
 
 inline bool
 propagate_constraint_check_result(Result r, Ternary& open) {
@@ -2322,7 +2324,10 @@ propagate_constraint_check_result(Result r, Ternary& open) {
   }
 }
 
-} // namespace
+} // namespace Boxes
+
+} // namespace Implementation
+
 
 template <typename ITV>
 void




More information about the PPL-devel mailing list