Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #571
Closed
Open
Issue created Aug 15, 2017 by Admin@OpenFOAM-adminMaintainer

BUG: Unable to create a List from a SLList

On beahlf of @hjasak

The following code fails

int main(int argc, char *argv[])
{
    SLList<label> a;
    List<label> b(a);

    return 0;
}

With the error message

src/OpenFOAM/lnInclude/ListI.H:94:35: error: invalid type argument of unary '*' (have 'int')
             this->operator[](i) = *iter; 
Assignee
Assign to
Time tracking