Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Reference

Header <boost/align.hpp>
Header <boost/align/align.hpp>
Header <boost/align/aligned_alloc.hpp>
Header <boost/align/aligned_allocator.hpp>
Header <boost/align/aligned_allocator_adaptor.hpp>
Header <boost/align/aligned_allocator_adaptor_forward.hpp>
Header <boost/align/aligned_allocator_forward.hpp>
Header <boost/align/aligned_delete.hpp>
Header <boost/align/aligned_delete_forward.hpp>
Header <boost/align/alignment_of.hpp>
Header <boost/align/alignment_of_forward.hpp>
Header <boost/align/is_aligned.hpp>

Header <boost/align.hpp>

Boost.Align all headers.

[Note] Note

This header includes all public headers of the Boost.Align library.

Glen Fernandes

Function align.

Glen Fernandes

namespace boost {
  namespace alignment {
    void * align(std::size_t, std::size_t, void *&, std::size_t &);
  }
}

Functions aligned_alloc and aligned_free.

Glen Fernandes

namespace boost {
  namespace alignment {
    void * aligned_alloc(std::size_t, std::size_t);
    void aligned_free(void *);
  }
}

Class template aligned_allocator.

Glen Fernandes

namespace boost {
  namespace alignment {
    template<typename T, std::size_t Alignment> class aligned_allocator;

    template<std::size_t Alignment> class aligned_allocator<void, Alignment>;
    template<typename T1, typename T2, std::size_t Alignment> 
      bool operator==(const aligned_allocator< T1, Alignment > &, 
                      const aligned_allocator< T2, Alignment > &);
    template<typename T1, typename T2, std::size_t Alignment> 
      bool operator!=(const aligned_allocator< T1, Alignment > &, 
                      const aligned_allocator< T2, Alignment > &);
  }
}

Class template aligned_allocator_adaptor.

Glen Fernandes

namespace boost {
  namespace alignment {
    template<typename Allocator, std::size_t Alignment> 
      class aligned_allocator_adaptor;
    template<typename A1, typename A2, std::size_t Alignment> 
      bool operator==(const aligned_allocator_adaptor< A1, Alignment > &, 
                      const aligned_allocator_adaptor< A2, Alignment > &);
    template<typename A1, typename A2, std::size_t Alignment> 
      bool operator!=(const aligned_allocator_adaptor< A1, Alignment > &, 
                      const aligned_allocator_adaptor< A2, Alignment > &);
  }
}

Class template aligned_allocator_adaptor forward declaration.

[Note] Note

This header provides a forward declaration for the aligned_allocator_adaptor class template.

Glen Fernandes

Class template aligned_allocator forward declaration.

[Note] Note

This header provides a forward declaration for the aligned_allocator class template.

Glen Fernandes

Class aligned_delete.

Glen Fernandes

namespace boost {
  namespace alignment {
    class aligned_delete;
  }
}

Class aligned_delete forward declaration.

[Note] Note

This header provides a forward declaration for the aligned_delete class.

Glen Fernandes

Class template alignment_of.

Glen Fernandes

namespace boost {
  namespace alignment {
    template<typename T> struct alignment_of;
  }
}

Class template alignment_of forward declaration.

[Note] Note

This header provides a forward declaration for the alignment_of class template.

Glen Fernandes

Function is_aligned.

Glen Fernandes

namespace boost {
  namespace alignment {
    bool is_aligned(std::size_t, const void *);
  }
}

PrevUpHomeNext