Imported Upstream version 1.64.0
[platform/upstream/boost.git] / boost / date_time / gregorian / greg_year.hpp
index 3d98fd0..ebcb49e 100644 (file)
@@ -9,7 +9,8 @@
  * $Date$
  */
 
-#include "boost/date_time/constrained_value.hpp"
+#include <boost/date_time/compiler_config.hpp>
+#include <boost/date_time/constrained_value.hpp>
 #include <stdexcept>
 #include <string>
 
@@ -17,7 +18,7 @@ namespace boost {
 namespace gregorian {
 
   //! Exception type for gregorian year
-  struct bad_year : public std::out_of_range
+  struct BOOST_SYMBOL_VISIBLE bad_year : public std::out_of_range
   {
     bad_year() : 
       std::out_of_range(std::string("Year is out of valid range: 1400..10000")) 
@@ -36,12 +37,10 @@ namespace gregorian {
       at the moment, but they are the limits of current testing of the 
       library.  As such they may be increased in the future.
   */
-  class greg_year : public greg_year_rep {
+  class BOOST_SYMBOL_VISIBLE greg_year : public greg_year_rep {
   public:
     greg_year(unsigned short year) : greg_year_rep(year) {}
     operator unsigned short()  const {return value_;}
-  private:
-    
   };