title: c++ conversion const member
body: <p>I have a member L that is a list of pairs of ints which I would like to use in a const function. I'm hence not supposed to modify L, but I don't know how I can iterate through L, to read its contents (as opposed to modifying them). </p>
  
  <p>The compiler keeps saying there is a conversion issue.</p>