Skip to content

Commit 9e2868f

Browse files
committed
Reorder includes
1 parent 4f2ed73 commit 9e2868f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

include/boost/array.hpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef BOOST_ARRAY_HPP_INCLUDED
2+
#define BOOST_ARRAY_HPP_INCLUDED
3+
14
/* The following code declares class array,
25
* an STL container (as wrapper) for arrays of constant size.
36
*
@@ -28,8 +31,6 @@
2831
*
2932
* Jan 29, 2004
3033
*/
31-
#ifndef BOOST_ARRAY_HPP
32-
#define BOOST_ARRAY_HPP
3334

3435
#include <boost/config.hpp>
3536
#include <boost/config/workaround.hpp>
@@ -41,16 +42,14 @@
4142
# pragma warning(disable:4610) // warning C4610: class 'boost::array<T,N>' can never be instantiated - user defined constructor required
4243
#endif
4344

44-
#include <cstddef>
45-
#include <iterator>
46-
#include <stdexcept>
4745
#include <boost/assert.hpp>
4846
#include <boost/core/invoke_swap.hpp>
4947
#include <boost/static_assert.hpp>
50-
5148
#include <boost/throw_exception.hpp>
5249
#include <algorithm>
53-
50+
#include <iterator>
51+
#include <stdexcept>
52+
#include <cstddef>
5453

5554
namespace boost {
5655

@@ -492,4 +491,4 @@ namespace std {
492491
# pragma warning(pop)
493492
#endif
494493

495-
#endif /*BOOST_ARRAY_HPP*/
494+
#endif // #ifndef BOOST_ARRAY_HPP_INCLUDED

0 commit comments

Comments
 (0)