Last change
on this file since 20 was
12,
checked in by landauf, 17 years ago
|
added boost
|
-
Property svn:executable set to
*
|
File size:
820 bytes
|
Line | |
---|
1 | // (C) Copyright Jonathan Turkanis 2005. |
---|
2 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
---|
3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) |
---|
4 | |
---|
5 | // See http://www.boost.org/libs/iostreams for documentation. |
---|
6 | |
---|
7 | #ifndef BOOST_IOSTREAMS_DETAIL_NEWLINE_HPP_INCLUDED |
---|
8 | #define BOOST_IOSTREAMS_DETAIL_NEWLINE_HPP_INCLUDED |
---|
9 | |
---|
10 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
11 | # pragma once |
---|
12 | #endif |
---|
13 | |
---|
14 | namespace boost { namespace iostreams { namespace detail { |
---|
15 | |
---|
16 | template<typename Ch> |
---|
17 | struct newline; |
---|
18 | |
---|
19 | template<> |
---|
20 | struct newline<char> { |
---|
21 | BOOST_STATIC_CONSTANT(char, value = '\n'); |
---|
22 | }; |
---|
23 | |
---|
24 | template<> |
---|
25 | struct newline<wchar_t> { |
---|
26 | BOOST_STATIC_CONSTANT(wchar_t, value = L'\n'); |
---|
27 | }; |
---|
28 | |
---|
29 | } } } // End namespaces detaill, iostreams, boost. |
---|
30 | |
---|
31 | #endif // #ifndef BOOST_IOSTREAMS_DETAIL_NEWLINE_HPP_INCLUDED |
---|
Note: See
TracBrowser
for help on using the repository browser.