Re: string_view in luminous

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 11, 2018 at 6:21 AM Victor Denisov <denisovenator@xxxxxxxxx> wrote:
>
> Hi,
>
> I'm porting a fix to luminous from master, but it looks like
> string_view is not enabled in luminous.
> What should be done to enable it in luminous branch?

hi Victor, std::string_view is part of C++17 standard, while luminous
only requires C++11. But luminous uses Boost 1.66, so we can use
boost::string_view.  you can `#include
<boost/utility/string_view.hpp>` for using it. please `git grep
boost::string_view` for more examples.

>
> Thanks,
> Victor.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Regards
Kefu Chai
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux