The function template cuda::memory::virtual_::set_permissions() which takes a Container of devices has two variants: const & and non-const &&. Unfortunately, the implementation of the first variant has a parameter of const && - a nonsensical and mismatched choice.