Displaying 6 results from an estimated 6 matches for "is_convert".
Did you mean:
bit_convert
2013 Oct 16
3
[LLVMdev] Unable to evaluate clang on linux or windows
...on&) = default;
^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:237:19:
note: candidate template ignored: disabled by 'enable_if' [with _Rep2 =
std::chrono::duration<long, std::ratio<1, 1000000000> >]
enable_if<is_convertible<_Rep2, rep>::value
^
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:244:19:
note: candidate template ignored: disabled by 'enable_if' [with _Rep2 =
long, _Period2
= std::ratio<1, 1000000000>]
enable_if<tr...
2009 Dec 03
0
[LLVMdev] patch for portability
...riate type.
I anticipate a standards fix for this one. The pair<T1, T2>::pair<U, V>(U&&, V&&) constructor should not participate in overload resolution unless U is implicitly convertible to T1 and V is implicitly convertible to T2 (easily implemented with enable_if and is_convertible). pair is still a hotbed of controversy on the committee, but I expect it to be greatly simplified over its current form prior to ratification.
-Howard
2013 Oct 18
0
[LLVMdev] Unable to evaluate clang on linux or windows
...^
> /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:237:19:
> note: candidate template ignored: disabled by 'enable_if' [with _Rep2 =
> std::chrono::duration<long, std::ratio<1, 1000000000> >]
> enable_if<is_convertible<_Rep2, rep>::value
> ^
> /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:244:19:
> note: candidate template ignored: disabled by 'enable_if' [with _Rep2 =
> long, _Period2
> = std::ratio<1, 1000000000>]
>...
2009 Dec 03
3
[LLVMdev] patch for portability
Sorry, always end up not replying to the list:
The main issue with dealing with next this way is that people adding new
uses of next will probably not be using c++0x and therefore won't know it's
ambiguous and that it needs to be qualified.
There are also two issues with rvalue references and the STL:
1. EquivalenceClasses, in the insert and findLeader functions, it uses map
functions
2013 Oct 16
0
[LLVMdev] Unable to evaluate clang on linux or windows
On 15/10/13 22:22, C K Kashyap wrote:
> Hi,
> I'd like to try out the new c++11 features using clang. However, I am
> running into some issue or the other on both Windows and Linux. In both
> cases, it looks like the problem is due to headers from VC/g++.
> I was wondering if someone can point me to some steps on setting up a
> Windows or Linux(ubuntu 12.04 LTS) box for
2013 Oct 15
2
[LLVMdev] Unable to evaluate clang on linux or windows
Hi,
I'd like to try out the new c++11 features using clang. However, I am
running into some issue or the other on both Windows and Linux. In both
cases, it looks like the problem is due to headers from VC/g++.
I was wondering if someone can point me to some steps on setting up a
Windows or Linux(ubuntu 12.04 LTS) box for exploring clang.
I was able to successfully build clang on my ubuntu but