Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6123

Inconsistency in std functions / GetListOfFunctions()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 6.00.beta2
    • Fix Version/s: None
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      Any

    • Development:

      Description

      root [0] int a = 1
      (int) 1
      root [1] int b = 2
      (int) 2
      root [2] std::copy(&a, &a + 1, &b)
      (int *) 0x7f4b79e91038
      root [3] b
      (int) 1
      root [4] gROOT->GetListOfFunctions()->FindObject("fill")
      (class TObject *) 0x0
      root [5] gROOT->GetListOfFunctions()->FindObject("std::fill")
      (class TObject *) 0x0
      root [6] gROOT->GetClass("std")->GetListOfMethods()->FindObject("fill")
      (class TObject *) 0x2ef7680

      So we have a namespace std after all? I am not sure whether this is desired behavior - it might well be, though.

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: