$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Problem with boost ::interprocess::string
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-12-23 17:15:26
El 22/12/2011 17:42, Josmon Paul escribió:
> Hi All
> I am totally new to the boost library. i will start with my problem.
> Currently i am using boost shared memory for storing a vector list. In
> the vector list each elements are string type. I am using
> boost::interprocess::string type. But i was not able to use the string
> size of more than 10 as above it is causing segmentation fault. If it is
> below 10 there is no issues. Pleasehelp me how to fix this issue.
Ti see how to allocate something "complex" like a vector of strings,
please see documentation:
Best,
Ion