Skip to content

Commit

Permalink
Reorder includes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jan 25, 2025
1 parent 4f2ed73 commit 9e2868f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions include/boost/array.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef BOOST_ARRAY_HPP_INCLUDED
#define BOOST_ARRAY_HPP_INCLUDED

/* The following code declares class array,
* an STL container (as wrapper) for arrays of constant size.
*
Expand Down Expand Up @@ -28,8 +31,6 @@
*
* Jan 29, 2004
*/
#ifndef BOOST_ARRAY_HPP
#define BOOST_ARRAY_HPP

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

#include <cstddef>
#include <iterator>
#include <stdexcept>
#include <boost/assert.hpp>
#include <boost/core/invoke_swap.hpp>
#include <boost/static_assert.hpp>

#include <boost/throw_exception.hpp>
#include <algorithm>

#include <iterator>
#include <stdexcept>
#include <cstddef>

namespace boost {

Expand Down Expand Up @@ -492,4 +491,4 @@ namespace std {
# pragma warning(pop)
#endif

#endif /*BOOST_ARRAY_HPP*/
#endif // #ifndef BOOST_ARRAY_HPP_INCLUDED

0 comments on commit 9e2868f

Please sign in to comment.