OSDN Git Service

2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / bits / regex_nfa.h
index 17982eb..c4a65e6 100644 (file)
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
 namespace __regex
 {
 namespace __regex
 {
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
 
   // Base class for, um, automata.  Could be an NFA or a DFA.  Your choice.
   class _Automaton
 
   // Base class for, um, automata.  Could be an NFA or a DFA.  Your choice.
   class _Automaton
@@ -43,8 +42,7 @@ namespace __regex
 
   public:
     virtual
 
   public:
     virtual
-    ~_Automaton()
-    { }
+    ~_Automaton() { }
 
     virtual _SizeT
     _M_sub_count() const = 0;
 
     virtual _SizeT
     _M_sub_count() const = 0;
@@ -394,10 +392,9 @@ namespace __regex
 
   };
 
 
   };
 
-} // namespace __regex
-
 _GLIBCXX_END_NAMESPACE_VERSION
 _GLIBCXX_END_NAMESPACE_VERSION
-} // namespace
+} // namespace __regex
+} // namespace std
 
 #include <bits/regex_nfa.tcc>
 
 
 #include <bits/regex_nfa.tcc>