x::wordexp() uses the C library function of the same name to do a shell-like split of a single string into individual words.
x::wordexp
#include <x/wordexp.H> std::vector<std::string> container; x::wordexp("*.C", container);