Displaying 5 results from an estimated 5 matches for "_move".
Did you mean:
move
2010 Oct 05
4
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
...}
For copy construction, MS VS2010 std reserves the right, and sometimes
calls,
a method to reverse elements which does so by swap:
template<class _Ty> inline
void swap(_Ty& _Left, _Ty& _Right)
{ // exchange values stored at _Left and _Right
_Ty _Tmp = _Move(_Left);
_Left = _Move(_Right); <<<<<<<<<<<<< Needs FULL assignment operator!!!!
_Right = _Move(_Tmp);
}
When `_Ty` is `SuccIterator const` the assert "Cannot assign iterators to
two different blocks!" can fail.
Can this be a workaro...
2010 Oct 21
1
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Michael,
Yes, while stepping through this VS2010 `std::swap` code, `_Move` did nothing, e.g.
////////////////////////////////////////////////////
void swap(_Ty& _Left, _Ty& _Right)
{ // exchange values stored at _Left and _Right
_Ty _Tmp = _Move(_Left);
_Left = _Move(_Right);
_Right = _Move(_Tmp);
}
////////////////////////////////////////////////////
wa...
2010 Oct 21
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
...e right, and sometimes
> calls,
>
> a method to reverse elements which does so by swap:
>
>
>
> template<class _Ty> inline
>
> void swap(_Ty& _Left, _Ty& _Right)
>
> { // exchange values stored at _Left and _Right
>
> _Ty _Tmp = _Move(_Left);
This uses the compiler generated default copy constructor which does
an element by element copy.
> _Left = _Move(_Right); <<<<<<<<<<<<< Needs FULL assignment operator!!!!
Given that SuccIterator does not implement move semantics, we can
basica...
2010 Oct 20
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
...uction, MS VS2010 std reserves the right, and sometimes calls,
>
> a method to reverse elements which does so by swap:
>
> template<class _Ty> inline
>
> void swap(_Ty& _Left, _Ty& _Right)
>
> { // exchange values stored at _Left and _Right
>
> _Ty _Tmp = _Move(_Left);
>
> _Left = _Move(_Right); <<<<<<<<<<<<< Needs FULL assignment operator!!!!
>
> _Right = _Move(_Tmp);
>
> }
>
> When `_Ty` is `SuccIterator const` the assert "Cannot assign iterators to two
> different blocks!" can...
2014 Jul 09
0
W7 and Roaming Profiles on two different PDC
Hello,
I use a Samba 3.6.12-59.23.1-3256-SUSE-SL12.3-x86_64 coming with
openSUSE 12.3 as a PDC. I also use roaming profiles with Windows 7 Pro
clients. This works perfect.
Now I need to _move some clients_ / profiles to another server with
Samba 4.1.9-3.22.1-3256-SUSE-oS13.1-i386 (openSUSE 13.1). This one works
already fine, but with different users. So I can exlude mistakes in my
configuration. I also use the same one as with the old PDC - only the
domain name is different.
First I...