mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix iota
This commit is contained in:
parent
51716cb4af
commit
2905965f24
4 changed files with 116 additions and 34 deletions
|
@ -34,7 +34,7 @@ namespace sprout {
|
|||
cont,
|
||||
sprout::size(cont),
|
||||
(Indexes >= offset && Indexes < offset + size
|
||||
? value + (Indexes - offset)
|
||||
? static_cast<typename sprout::container_traits<Container>::value_type>(value + (Indexes - offset))
|
||||
: *sprout::next(sprout::internal_begin(cont), Indexes)
|
||||
)...
|
||||
);
|
||||
|
|
|
@ -20,19 +20,19 @@
|
|||
// SPROUT_PP_UNIQUE_U32STRING
|
||||
//
|
||||
#define SPROUT_PP_UNIQUE_STRING \
|
||||
SPROUT_PP_STRINGIZE(SPROUT_PP_SOME_NUMBER_OR_EMPTY()) " " \
|
||||
SPROUT_PP_STRINGIZE(SPROUT_PP_SOME_NUMBER()) " " \
|
||||
__DATE__ " " __TIME__ \
|
||||
" : " __FILE__ ":" SPROUT_PP_STRINGIZE(__LINE__)
|
||||
#define SPROUT_PP_UNIQUE_WSTRING \
|
||||
SPROUT_PP_WSTRINGIZE(SPROUT_PP_SOME_NUMBER_OR_EMPTY()) SPROUT_PP_WSTR(" ") \
|
||||
SPROUT_PP_WSTRINGIZE(SPROUT_PP_SOME_NUMBER()) SPROUT_PP_WSTR(" ") \
|
||||
SPROUT_PP_WSTR(__DATE__) SPROUT_PP_WSTR(" ") SPROUT_PP_WSTR(__TIME__) \
|
||||
SPROUT_PP_WSTR(" : ") SPROUT_PP_WSTR(__FILE__) SPROUT_PP_WSTR(":") SPROUT_PP_WSTRINGIZE(__LINE__)
|
||||
#define SPROUT_PP_UNIQUE_U16STRING \
|
||||
SPROUT_PP_U16STRINGIZE(SPROUT_PP_SOME_NUMBER_OR_EMPTY()) SPROUT_PP_U16STR(" ") \
|
||||
SPROUT_PP_U16STRINGIZE(SPROUT_PP_SOME_NUMBER()) SPROUT_PP_U16STR(" ") \
|
||||
SPROUT_PP_U16STR(__DATE__) SPROUT_PP_U16STR(" ") SPROUT_PP_U16STR(__TIME__) \
|
||||
SPROUT_PP_U16STR(" : ") SPROUT_PP_U16STR(__FILE__) SPROUT_PP_U16STR(":") SPROUT_PP_U16STRINGIZE(__LINE__)
|
||||
#define SPROUT_PP_UNIQUE_U32STRING \
|
||||
SPROUT_PP_U32STRINGIZE(SPROUT_PP_SOME_NUMBER_OR_EMPTY()) SPROUT_PP_U32STR(" ") \
|
||||
SPROUT_PP_U32STRINGIZE(SPROUT_PP_SOME_NUMBER()) SPROUT_PP_U32STR(" ") \
|
||||
SPROUT_PP_U32STR(__DATE__) SPROUT_PP_U32STR(" ") SPROUT_PP_U32STR(__TIME__) \
|
||||
SPROUT_PP_U32STR(" : ") SPROUT_PP_U32STR(__FILE__) SPROUT_PP_U32STR(":") SPROUT_PP_U32STRINGIZE(__LINE__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue