Sha256: c1af5e5df29917bf869012c4b2cbbe46f7a3d6e2fe8d1afac7a28fa6b5d66915
Contents?: true
Size: 662 Bytes
Versions: 3
Compression:
Stored size: 662 Bytes
Contents
#ifndef _IV_LOCATION_H_ #define _IV_LOCATION_H_ #include <cstddef> #include <tr1/type_traits> #include "static_assert.h" namespace iv { namespace core { struct Location { std::size_t begin_position_; std::size_t end_position_; inline std::size_t begin_position() const { return begin_position_; } inline std::size_t end_position() const { return end_position_; } inline void set_begin_position(std::size_t begin) { begin_position_ = begin; } inline void set_end_position(std::size_t end) { end_position_ = end; } }; IV_STATIC_ASSERT(std::tr1::is_pod<Location>::value); } } // namespace iv::core #endif // _IV_LOCATION_H_
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iv-phonic-0.0.7 | ext/include/iv/location.h |
iv-phonic-0.0.6 | ext/include/iv/location.h |
iv-phonic-0.0.5 | ext/include/iv/location.h |