Mantid
Loading...
Searching...
No Matches
MatrixWorkspaceAccess.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
8
9namespace Mantid::Algorithms {
10
13decltype(std::mem_fn((std::vector<double> & (API::MatrixWorkspace::*)(const std::size_t)) &
14 API::MatrixWorkspace::dataX)) MatrixWorkspaceAccess::x =
15 std::mem_fn((std::vector<double> & (API::MatrixWorkspace::*)(const std::size_t)) & API::MatrixWorkspace::dataX);
17} // namespace Mantid::Algorithms
STL namespace.