CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2018
    Posts
    1

    boost::fusion::vector with optional std::array not returning valid values

    Hi Guys,
    Please refer to teh below link which has the detailed problem statement that i am facing.

    https://stackoverflow.com/questions/...-with-stdarray

    Thanks,
    Kartikey

  2. #2
    Join Date
    Feb 2017
    Posts
    677

    Re: boost::fusion::vector with optional std::array not returning valid values

    You have declared a boost::fusion::vector with 7 components. You access them as at_c<1> to at_c<7> but shouldn't that rather be at_c<0> to at_c<6>? C++ index ranges usually start at 0.
    Last edited by wolle; May 13th, 2018 at 02:30 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured