selfdriving
mrpt_path_planning
include
mpp
data
const_ref_t.h
Go to the documentation of this file.
1
/* -------------------------------------------------------------------------
2
* SelfDriving C++ library based on PTGs and mrpt-nav
3
* Copyright (C) 2019-2022 Jose Luis Blanco, University of Almeria
4
* See LICENSE for license information.
5
* ------------------------------------------------------------------------- */
6
7
#pragma once
8
9
#include <functional>
// reference_wrapper<>
10
#include <optional>
11
12
namespace
mpp
13
{
14
/** Wrapper to a const reference to T */
15
template
<
typename
T>
16
using
const_ref_t
= std::optional<std::reference_wrapper<const T>>;
17
18
}
// namespace mpp
mpp
Definition:
bestTrajectory.h:15
mpp::const_ref_t
std::optional< std::reference_wrapper< const T > > const_ref_t
Definition:
const_ref_t.h:16
Generated on Sun Jul 2 2023 09:45:17 for selfdriving by
1.8.13