-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RF] Add
std::string
overloads for RooWorkspace accessor functions
The RooWorkspace accessor functions like `var` or `pdf` are used a lot, and accepting standard strings directly will be a major convenience for the users. One might ask why `std::string_view` was not used. The problem is that strings views are guaranteed to be null-terminated, so they can't be converted to `const char*` to use the original functions. This commit also makes use of the new `std::string` overloads in RooFit code.
- Loading branch information
1 parent
647c3c6
commit b6eb530
Showing
16 changed files
with
149 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.