```
#include
#include
#include
#include
namespace bp = boost::parser;
auto numeric_parser = bp::int_ | bp::double_;
//auto numeric_parser = bp::double_ | bp::int_;
void parse_number(const std::string& input)
{
auto result = bp::parse(input, numeric_parser);
if (result) {
std:
I write an example where one can manually set pointer in load:
#include
#include
#include
#include
#include
#include
#include
#include
#include
std::map m{ {"x",5} };
struct A
{
friend class boost::serialization::access;
int* x;
template
void save(Archive& ar, const unsigned int vers
I don't think there will be any plan on 3D geometry( though I'm not the
author). It's very complex.
On Monday, December 13, 2021, KL via Boost-users <
boost-users@lists.boost.org> wrote:
>
> Hi,
>
> Is there any plan to have 3d algorithms like difference and union in Boost
> geometry?
>
> Thanks
Why didn't you try a newer version? 1.65 is too old.
On Thu, Nov 11, 2021 at 1:29 PM Senthil Cheetancheri via Boost-users <
boost-users@lists.boost.org> wrote:
> Hi,
>
> I'm learning to use Boost.asio by going through the tutorials at [1].
>
> However, the listing for "Synchronizing handlers in
For "mt-d-x64", here "d" means debug version. It contains some extra
symbols for debugging purpose. Without "d", it's release version. Use
release version as much as possible, usually it's faster and smaller.
On Friday, August 20, 2021, Alexander Tanseco via Boost-users <
boost-users@lists.boos
https://www.boost.org/doc/libs/1_75_0/libs/multiprecision/doc/html/boost_multiprecision/tut/ints/cpp_int.html
On Sat, Feb 27, 2021 at 4:44 AM Emilio Paolini via Boost-users <
boost-users@lists.boost.org> wrote:
> Hi everyone, i'm pretty new to Boost. I need to use as a default type for
> the CNL.
See this page, int128_t is simply
// Fixed precision signed types:
typedef number
> int128_t;
Change 128 to what you want.
On Sat, Feb 27, 2021 at 4:44 AM Emilio Paolini via Boost-users <
boost-users@lists.boost.org> wrote:
> Hi everyone, i'm pretty new to Boost. I need to use as a default
As you don't give any example, I can't know exactly what you want to do.
But how about using multi_array to store pointers? Then you can construct
your objects at any time.
On Fri, Nov 20, 2020 at 11:55 PM Eugenio Bargiacchi via Boost-users <
boost-users@lists.boost.org> wrote:
> I'd love to be a
*First problem - more precision*
Check the stopping condition of boost.math, it says the tolerance is
\sqrt{\epsilon}. So if you use 100-digits precision, then tolerance is
roughly 10^-50. For more precision, you have to use more digits such as
1000 digits by using BF= number >; . Full code:
#incl
In you lambda expression, you have to capture B_local :
auto f = [&](Real x) { return std::bind(f0, _1, B_local)(x); };
The *[&]* tells the compiler to capture variables by reference
automatically.
On Mon, Aug 17, 2020 at 2:26 AM Anirban Pal via Boost-users <
boost-users@lists.boost.org> wro
10 matches
Mail list logo