553 Commits

Author SHA1 Message Date
Antony Polukhin
8f4b6ec985 Fixed issue from track Ticket #11209: conversion - cast_test leaks memory 2015-09-25 19:58:48 +03:00
Antony Polukhin
a6100358f4 Add missing include boost-1.59.0 boost-1.58.0 2015-03-24 22:24:08 +03:00
Antony Polukhin
8f1126f6b2 Merge branch 'alexhenrie-master' into develop 2015-02-03 20:11:03 +03:00
Antony Polukhin
b2019fa2df Added a README.md and improved some docs. Added TravicCI integration 2015-02-03 13:28:04 +03:00
Antony Polukhin
dc25edb4dd Fixed type deduction on old compilers 2015-02-03 13:00:37 +03:00
Alex Henrie
43ee183296 Correct spelling of "suppress" 2015-01-30 15:22:27 -07:00
Antony Polukhin
84ab59227d Merge pull request #7 from Boris-Rasin/synopsis
fix synopsis for polymorphic_pointer_cast
2014-11-18 19:58:36 +03:00
Boris Rasin
0dc31621c8 fix synopsis for polymorphic_pointer_cast 2014-11-18 14:31:22 +02:00
Antony Polukhin
00b6a53f7e Add polymorphic_pointer_cast 2014-11-10 15:02:20 +04:00
Antony Polukhin
6199649ae2 Move polymorphic_pointer_downcast to a separate header, use pragma once and boost::throw_exception 2014-11-10 14:24:39 +04:00
Antony Polukhin
a8253878c8 Merge pull request #6 from Boris-Rasin/polymorphic_pointer_downcast
Add polymorphic_pointer_downcast function template (pull request #2)

Looks really good.
I'll move your implementation into a separate polymorphic_pointer_cast.hpp header to avoid Typeof dependencies for users that do not use `polymorphic_pointer_downcast`
2014-11-10 12:15:34 +03:00
Boris Rasin
582fc91adb add more tests and documentation example for polymorphic_pointer_downcast 2014-11-09 15:37:56 +02:00
Boris Rasin
6a224fa5e9 =add polymorphic_pointer_downcast function template 2014-11-09 00:02:44 +02:00
Antony Polukhin
5d66fea7d5 Merge branch 'master' into develop boost-1.57.0 2014-08-11 13:19:35 +04:00
Antony Polukhin
4e9021cac5 Merge branch 'develop' boost-1.56.0 2014-06-16 09:19:29 +04:00
Antony Polukhin
ff7ea09a73 remove numeric_cast_test that is a copy of numeric/conversion/test/numeric_cast_test.cpp 2014-06-11 16:23:51 +04:00
Antony Polukhin
6943537150 Drop dependency to the boost_unit_test_framework library in tests 2014-06-11 16:16:40 +04:00
Antony Polukhin
cf31a2ec00 Merge pull request #4 from boostorg/pull-request/cast-prune-dependencies
Prune conversion dependencies
2014-06-11 16:03:39 +04:00
Peter Dimov
800c10a4eb Remove use of mpl::identity from implicit_cast.hpp. 2014-06-11 14:45:37 +03:00
Peter Dimov
df57f25807 Remove unnecessary includes from cast_test.cpp. 2014-06-11 14:41:55 +03:00
Peter Dimov
f0caf56d0b Remove unnecessary includes from implicit_cast_fail.cpp. 2014-06-11 14:40:50 +03:00
Peter Dimov
24d6ac1e87 Remove unnecessary includes from polymorphic_cast.hpp. 2014-06-11 14:38:48 +03:00
Peter Dimov
8a03282736 Add additional tests. 2014-06-11 14:35:27 +03:00
Antony Polukhin
40c42eb740 cast.hpp was moved to the numeric_cast library 2014-06-11 11:44:02 +04:00
Antony Polukhin
36945c35bd Merge branch 'develop' 2014-06-10 13:37:08 +04:00
Antony Polukhin
a0922ab598 Remove lexical_cast, add polymorphic_cast.hpp, minor fixes 2014-06-09 12:36:42 +04:00
Antony Polukhin
77a4a55af4 Merge pull request #3 from danieljames/metadata
Add metadata
2014-06-09 11:50:37 +04:00
Antony Polukhin
5c3878f015 Merge pull request #2 from danieljames/link-fix
Fix link to test.
2014-06-09 11:50:19 +04:00
Daniel James
5e93f4086c Remove mention of lexical casts. 2014-06-08 23:42:45 +01:00
Daniel James
e2a68fdec1 Add metadata from website 2014-06-08 23:42:19 +01:00
Daniel James
ee91295ac4 Fix link to test. 2014-06-08 15:01:02 +01:00
Antony Polukhin
e3e4d3836a Merge branch 'develop' 2014-03-14 23:47:58 +04:00
Antony Polukhin
d1a51b897d Fix conversions to bool with leading zeros (refs #9659) 2014-03-05 14:48:21 +04:00
Antony Polukhin
9e6aa219d3 Merge branch 'develop' 2014-03-04 16:37:10 +04:00
Antony Polukhin
1e65265b8f Minor fixes in tests 2014-02-11 12:13:17 +04:00
Antony Polukhin
90b4286753 Because of the errors in MSVC with fowarding and static_casting arrays it was decided to drop minor optimization and do not perfect forward source types in try_lexical_convert 2014-02-06 11:22:40 +04:00
Antony Polukhin
5a757dcece Docs updated and minor fixes for MSVC2013 2014-02-04 13:13:33 +04:00
Antony Polukhin
36bc5aea44 Attempt to fix access violation during forwarding of arrays on MSVC 2014-02-03 16:22:27 +04:00
Antony Polukhin
ac7da550b4 Attempt to revert incorrectly merged branches 2014-01-19 11:53:50 +04:00
Antony Polukhin
e8954f3868 Added docs for try_lexical_convert 2014-01-04 20:26:19 +04:00
Antony Polukhin
1707131ac3 Added some tests for try_lexical_convert and fixed some issues. 2014-01-01 21:47:09 +04:00
Antony Polukhin
2f2c1a3443 Create first merge point for Git 2013-12-30 18:03:42 +04:00
Antony Polukhin
91b77e7373 Do forward input streamable parameter during lexical input streaming. 2013-12-16 19:05:43 +04:00
Antony Polukhin
e3dec04dd5 Applied improvements from [boost] [conversion] try_lexical_cast discussion: function is called try_lexical_convert and now uses perfect forwardings when possible. 2013-12-16 18:47:41 +04:00
Antony Polukhin
b40bc02f94 try_lexical_cast is now implemented in optimal way 2013-12-13 13:52:18 +04:00
Antony Polukhin
07082420b3 Sketch implementaion of try_lexical_cast 2013-12-12 18:41:51 +04:00
Antony Polukhin
57e4e87e3b Put tests to test folder, remove unrequired files, fix permissions 2013-12-09 11:27:27 +04:00
Antony Polukhin
e913b7cb1c Fix some of the implicit conversion warnings (refs #8991)
[SVN r86750]
2013-11-18 11:06:06 +00:00
Antony Polukhin
c0c02e560e Attempt to catch libc++ bug with a modified tests
[SVN r86747]
2013-11-18 08:17:33 +00:00
Antony Polukhin
bbd746d2ac Slightly modify one of the lexical_cast tests to see what is produced by the to_str method with libc++.
[SVN r86721]
2013-11-16 16:25:26 +00:00