Added decay to static_assertions
Updated sample to remove undefined behaviour (std::equal)
Updated sample code, and added compatibility info for BM/BMH searches