Thank you, I am using c++0x,
I haven't noticed that.
:)

在2020年12月15日星期二 UTC+8 上午7:03:33<[email protected]> 写道:

> How are you attempting to build? I see on 
> https://en.cppreference.com/w/cpp/types/remove_cv that remove_cv_t was 
> introduced in C++ 14; are you using an older compiler?
>
>
> ------------------------------
> *From:* [email protected] <[email protected]> on behalf of 
> Ricky Du <[email protected]>
> *Sent:* Monday, December 14, 2020 11:37 AM
> *To:* [email protected] <[email protected]>
> *Subject:* [EXTERNAL] [v8-dev] Complie sample error 
>  
> In file included from ./include/v8.h:30:0,
>                  from samples/process.cc:28:
> ./include/v8-internal.h: In function ‘void 
> v8::internal::PerformCastCheck(T*)’:
> ./include/v8-internal.h:452:33: error: ‘remove_cv_t’ is not a member of 
> ‘std’
>              !std::is_same<Data, 
> std::remove_cv_t<T>>::value>::Perform(data);
>                                  ^
> ./include/v8-internal.h:452:33: error: ‘remove_cv_t’ is not a member of 
> ‘std’
> ./include/v8-internal.h:452:50: error: template argument 2 is invalid
>              !std::is_same<Data, 
> std::remove_cv_t<T>>::value>::Perform(data);
>                                                   ^
> ./include/v8-internal.h:452:61: error: ‘::Perform’ has not been declared
>              !std::is_same<Data, 
> std::remove_cv_t<T>>::value>::Perform(data);
>
> I don't know what's the problem, thank you so much!
>
> -- 
> -- 
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev 
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fv8-dev&data=04%7C01%7Cseth.brenith%40microsoft.com%7C3fcc155d64224cf1d9d008d8a067a8f2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637435714505996491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=62CU8YhdWZWLbuvi52wjNcJy87ms3afTN430yPwGnL8%3D&reserved=0>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "v8-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/v8-dev/CAPZXk3gaLTB8E%3DBE3QD-DHoQG5BOK7n9ViWVCk%3D05f3dC7mKhQ%40mail.gmail.com
>  
> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fv8-dev%2FCAPZXk3gaLTB8E%253DBE3QD-DHoQG5BOK7n9ViWVCk%253D05f3dC7mKhQ%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cseth.brenith%40microsoft.com%7C3fcc155d64224cf1d9d008d8a067a8f2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637435714505996491%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xYswU5xwg%2Bo%2FeiQxKg1jN2jOpqbcql8jbFpHFK2mFko%3D&reserved=0>
> .
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/e34d40e4-969f-42fe-82f1-5d67d911e260n%40googlegroups.com.

Reply via email to