Skip to content
Snippets Groups Projects
  • Michael Kuron's avatar
    Remove Boost and switch to C++17 · c3b6da1d
    Michael Kuron authored and Markus Holzer's avatar Markus Holzer committed
    Some optional components use Boost MultiArray and PropertyTree, so we still include the headers if available.
    We also still search std::experimental for any, filesystem and optional because some otherwise C++17-compliant compilers did not support them in std until recently.
    c3b6da1d
Forked from waLBerla / waLBerla
468 commits behind the upstream repository.
Optional.h 1.16 KiB
//======================================================================================================================
//
//  This file is part of waLBerla. waLBerla is free software: you can
//  redistribute it and/or modify it under the terms of the GNU General Public
//  License as published by the Free Software Foundation, either version 3 of
//  the License, or (at your option) OPTIONAL later version.
//
//  waLBerla is distributed in the hope that it will be useful, but WITHOUT
//  OPTIONAL WARRANTY; without even the implied warranty of MERCHANTABILITY or
//  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
//  for more details.
//
//  You should have received a copy of the GNU General Public License along
//  with waLBerla (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
//
//! \file Optional.h
//! \ingroup core
//! \author Michael Kuron <mkuron@icp.uni-stuttgart.de>
//
//======================================================================================================================

#pragma once

#include "waLBerlaDefinitions.h"

#include <optional>



namespace walberla {

using std::optional;
using std::nullopt;

}