5 #ifndef HERALD_LOCATION_H
6 #define HERALD_LOCATION_H
8 #include "location_reference.h"
17 template <
typename LocationReferenceT>
21 : mValue(std::move(value)),mStart(std::move(start)),mEnd(std::move(end))
25 std::string description()
const {
26 return mValue->description() +
":[from=" + ((std::string)mStart) +
",to=" + ((std::string)mEnd) +
"]";
29 operator std::string()
const noexcept {
34 LocationReferenceT mValue;
Definition: location.h:18
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15