mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
supprt for VC++2015
This commit is contained in:
parent
7af7bbee05
commit
b1b62d9a29
3 changed files with 86 additions and 23 deletions
30
sprout/detail/one_type.hpp
Normal file
30
sprout/detail/one_type.hpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2015 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_DETAIL_ONE_TYPE_HPP
|
||||
#define SPROUT_DETAIL_ONE_TYPE_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace detail {
|
||||
//
|
||||
// one_type
|
||||
//
|
||||
typedef char one_type;
|
||||
|
||||
//
|
||||
// not_one_type
|
||||
//
|
||||
struct not_one_type {
|
||||
public:
|
||||
char padding[8];
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_DETAIL_ONE_TYPE_HPP
|
Loading…
Add table
Add a link
Reference in a new issue