mirror of
https://github.com/kirirururu/telebotxx.git
synced 2026-06-14 18:30:43 +00:00
Updates and attachments hierarchy replaced with Union-like classes. Changes in JSON parsing for RVO/move-semantics.
15 lines
245 B
C++
15 lines
245 B
C++
#ifndef TELEBOTXX_OPTIONAL_HPP
|
|
#define TELEBOTXX_OPTIONAL_HPP
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
namespace telebotxx {
|
|
|
|
template <typename T>
|
|
using optional = boost::optional<T>;
|
|
|
|
const auto none = boost::none;
|
|
|
|
}
|
|
|
|
#endif // TELEBOTXX_OPTIONAL_HPP
|