Hi all,
So, I noticed that we use very little of the Guidelines Support Library. I’d like to gather opinions on replacing gsl::index
with our own index
typedef defined in OpenMC’s namespace, replacing Expects
with assert
, and replacing gsl::span
with our own implementation, which should be very short and only covering the narrow range of functionality we use.
In fact, from what I can tell, we could just pass vectors by reference rather than use spans at all, since we don’t seem to restrict spans to subsets of vectors anywhere in the codebase. So we probably don’t even need to implement a span
.
Thoughts?