Hi, I am looking at/using yaml-cpp (https://github.com/jbeder/yaml-cpp). It
seems to be a recently-active project, C++-based and the API is simple to
use/comprehend.
I've tried using the 0.3 version, but it uses std::auto_ptr (now removed in
C++17) and it looks like up until 0.6, it depended on boost.
Thoughts? Suggestions?
On Saturday, May 19, 2018, 8:33:54 AM PDT, Leif Hedstrom <[email protected]>
wrote:
On Saturday, May 19, 2018, 8:33:54 AM PDT, Leif Hedstrom <[email protected]>
wrote:
> On May 19, 2018, at 9:26 AM, Alan Carroll <[email protected]>
> wrote:
>
> Since it was decided we would shift to using YAML for configuration, have
> there been any suggestions as to a specific library to use? I think that
> would be a good thing to discuss before we go much further down this road.
I think Randall has been looking at yaml-cpp. We took a gander in Cork at what
packages are available, on CentOS6 (via EPEL), we could get
yaml-cpp.x86_64 0.3.0-1.el6 epel
On CentOS7, again via EPEL I think, we would get
yaml-cpp.x86_64 1:0.5.1-1.el7.2 epel
So, v0.3.0 is the oldest we *might* have to support. But if that’s not
feasible, we could also consider including the YAML source into our tree, but I
think we should learn from previous mistakes, and avoid that if at all possible.
Cheers,
— leif