Sha256: 2eaa42bfce1b749d0df43ef100cb649126e858151f7cb911322adafe40b3a84b

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 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_;
  }
};

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.3 ext/include/iv/location.h
iv-phonic-0.0.2 ext/include/iv/location.h
iv-phonic-0.0.1 ext/include/iv/location.h