]> git.lyx.org Git - features.git/blobdiff - boost/boost/smart_ptr/bad_weak_ptr.hpp
boost: add eol property
[features.git] / boost / boost / smart_ptr / bad_weak_ptr.hpp
index 72fff3561e790680731b947319948061b91e376d..3e0a1b728677d0da025967f735db4e54c9f4fb83 100644 (file)
@@ -1,59 +1,59 @@
-#ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED\r
-#define BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED\r
-\r
-// MS compatible compilers support #pragma once\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)\r
-# pragma once\r
-#endif\r
-\r
-//\r
-//  boost/smart_ptr/bad_weak_ptr.hpp\r
-//\r
-//  Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Media Ltd.\r
-//\r
-// Distributed under the Boost Software License, Version 1.0. (See\r
-// accompanying file LICENSE_1_0.txt or copy at\r
-// http://www.boost.org/LICENSE_1_0.txt)\r
-//\r
-\r
-#include <exception>\r
-\r
-#ifdef __BORLANDC__\r
-# pragma warn -8026     // Functions with excep. spec. are not expanded inline\r
-#endif\r
-\r
-namespace boost\r
-{\r
-\r
-// The standard library that comes with Borland C++ 5.5.1, 5.6.4\r
-// defines std::exception and its members as having C calling\r
-// convention (-pc). When the definition of bad_weak_ptr\r
-// is compiled with -ps, the compiler issues an error.\r
-// Hence, the temporary #pragma option -pc below.\r
-\r
-#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564\r
-# pragma option push -pc\r
-#endif\r
-\r
-class bad_weak_ptr: public std::exception\r
-{\r
-public:\r
-\r
-    virtual char const * what() const throw()\r
-    {\r
-        return "tr1::bad_weak_ptr";\r
-    }\r
-};\r
-\r
-#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564\r
-# pragma option pop\r
-#endif\r
-\r
-} // namespace boost\r
-\r
-#ifdef __BORLANDC__\r
-# pragma warn .8026     // Functions with excep. spec. are not expanded inline\r
-#endif\r
-\r
-#endif  // #ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED\r
+#ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED
+#define BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED
+
+// MS compatible compilers support #pragma once
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+# pragma once
+#endif
+
+//
+//  boost/smart_ptr/bad_weak_ptr.hpp
+//
+//  Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Media Ltd.
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+
+#include <exception>
+
+#ifdef __BORLANDC__
+# pragma warn -8026     // Functions with excep. spec. are not expanded inline
+#endif
+
+namespace boost
+{
+
+// The standard library that comes with Borland C++ 5.5.1, 5.6.4
+// defines std::exception and its members as having C calling
+// convention (-pc). When the definition of bad_weak_ptr
+// is compiled with -ps, the compiler issues an error.
+// Hence, the temporary #pragma option -pc below.
+
+#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
+# pragma option push -pc
+#endif
+
+class bad_weak_ptr: public std::exception
+{
+public:
+
+    virtual char const * what() const throw()
+    {
+        return "tr1::bad_weak_ptr";
+    }
+};
+
+#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
+# pragma option pop
+#endif
+
+} // namespace boost
+
+#ifdef __BORLANDC__
+# pragma warn .8026     // Functions with excep. spec. are not expanded inline
+#endif
+
+#endif  // #ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED