/* * This file is part of the DXX-Rebirth project . * It is copyright by its individual contributors, as recorded in the * project's Git history. See COPYING.txt at the top level for license * terms and a link to the Git history. */ #pragma once #if defined(DXX_HAVE_CXX11_BEGIN) #include using std::begin; using std::end; #elif defined(DXX_HAVE_BOOST_BEGIN) #include #include using boost::begin; using boost::end; namespace boost { template struct range_const_iterator { typedef const T* type; }; template struct range_mutable_iterator { typedef T* type; }; } #else #error "No begin()/end() implementation found." #endif