Changeset a1c35cc in mainline for uspace/lib/cpp/include/internal/locale/num_get.hpp
- Timestamp:
- 2018-07-05T21:41:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4fba7ad
- Parents:
- 349b0f7
- git-author:
- Dzejrou <dzejrou@…> (2018-05-14 18:08:11)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/internal/locale/num_get.hpp
r349b0f7 ra1c35cc 30 30 #define LIBCPP_INTERNAL_LOCALE_NUM_GET 31 31 32 #include <cerrno> 33 #include <cstring> 32 34 #include <internal/locale.hpp> 33 35 #include <internal/locale/numpunct.hpp> … … 35 37 #include <iterator> 36 38 #include <limits> 37 38 extern "C" {39 #include <errno.h>40 }41 39 42 40 namespace std … … 262 260 { 263 261 // TODO: implement 262 return in; 264 263 } 265 264 … … 268 267 { 269 268 // TODO: implement 269 return in; 270 270 } 271 271 … … 274 274 { 275 275 // TODO: implement 276 return in; 276 277 } 277 278 … … 280 281 { 281 282 // TODO: implement 283 return in; 282 284 } 283 285 … … 301 303 int ret{}; 302 304 if constexpr (is_signed<BaseType>::value) 303 ret = st r_int64_t(base.buffer_, nullptr, num_base, false, &res);304 else 305 ret = st r_uint64_t(base.buffer_, nullptr, num_base, false, &res);305 ret = std::hel::str_int64_t(base.buffer_, nullptr, num_base, false, &res); 306 else 307 ret = std::hel::str_uint64_t(base.buffer_, nullptr, num_base, false, &res); 306 308 307 309 if (ret != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.