|
Boost Users : |
Subject: Re: [Boost-users] Multiple instance of options
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2013-09-22 20:07:20
On 9/20/2013 9:48 PM, Quoth Ulf Samuelsson:
>> You can't duplicate the [sensor] section as you then have no way of
>> selecting which one you want.
>>
> If I look at an xorg.conf file I find:
[...]
> so it is not impossible.
> The "Identifier" allows you to differentiate between the two.
Sure, because that uses a custom parser and builds up data structures
from the entire file in one pass, using such domain-specific knowledge
to validate content and generate the links between entries.
You're welcome to do the same, but you're unlikely to find something off
the shelf that does it that way.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net