   [C++] accessing member of array returned from sequence of functions
  I'm using a mesh library and am a little confused about it..Base::mesh() returns an instance of class A, where A.texcoord2D(parameter) returns a member object texCoord2D which consists of a simple 2-member array.If I want to access the 1st member of texCoord2D, is it correct to writefloat value = Base::mesh().texcoord2D(vv_it)[0]Or do I have to put some brackets somewherefloat value = (Base::mesh().texcoord2D(vv_it))[0]Thanks!   
  You don't need the parenthesis, but that code is rather unsightly either way.   