Re: std::array support
Kohei Takahashi <[email protected]>
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Sebastian, I'm not Spirit (and X3) expert but, > has there been any progress regarding supporting std::array-s? As of 1.63.0 release, Boost.Fusion supports std::array via <boost/fusion/adaped/std_array.hpp>. So I assume any hacks for boost::array can be applied to std::array. > I know of > https://stackoverflow.com/questions/34435150/boostspirit-parsing-into-struct-with-stdarray OK, now I tried replacing boost::array to std::array and it works fine for me. https://wandbox.org/permlink/V2mq238ScTctGNII > and > https://stackoverflow.com/questions/33082427/using-stdarray-as-attribute-for-boostspiritx3, However, in X3, we need additional dirty hack, see following. https://wandbox.org/permlink/poeusnilIOwmiEBo Kohei ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Spirit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spirit-general
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZQeC1AAoJEGGyPxPRp/zog/sP/28LcaR6OghVF4Id2OCaSvIb waYq4+AAab9+bzvVrfHw5EkSO1I/Bf2XMo89dEx8mMbQc/znklNDC31nahbWexSw 5fAE4gtxERY/DRFmFjLPMmmFuxA4GDL+vfWQxW37J9lPj54xCnZU4k22l27/OCV/ hJKVdFkzLil3BBo8+uLos79rHj7NXo0E5hWcdaXbZGnAXN8nrjR4KGXcbgQeII58 3y/Us+Gb6lG3TqLI1e6aTf0+Fa0n29lmnw4tZ6uyjBQilVK+JklSX+pxz6YMpYkJ UPIEWoPGPsPPAXaY5Som0sVF3VgTUq9afbzbJwIsKdEElXfPwj6YZhMgkM302n1w 4/uX2w6G9A9EezV6MhAKzj6DwZrcR2o1GxL1UyJLBf8tH8LapkQXf2nFK7kWs6jR xwy+G6f20ZMmWWv1I6EYVrukH0oC+4lLTAEpbqTktAZVRoi8nVosSunub7WkF/80 1hvQj5QpBa0mgjPq5dVB6ny/vR47v55F2/l+SiDpNonLSKUmhhuNf8AtS0BjTvy5 bOLniUAyCxk//QjnMyaNFsmkuPrQcYiwMymgqr4ihVn87IuHwZcxd7eeYPfvNCXJ 5lM6oZdtSdi63Ak9tQfK4OTqS8fm8CSQ+mX+dbjad6IPnpCLwAldCu6Gp9lRPLQN E65asRDI7lm2GIYo8GAT =hvpC -----END PGP SIGNATURE-----