error C2679: binary '=' : no operator found which takes a right-hand operator

Discussion in 'C' started by Paul1982, Apr 12, 2008.

  1. Paul1982

    Paul1982 New Member

    Joined:
    Apr 12, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I am using STL internals in my application. But when I am compiling my Application in debug mode it is going fine but in Relase mode I am getting compilation error.

    Can anyone please provide me solution for this one.
    error is as follows:

    error C2679: binary '=' : no operator found which takes a right-hand operand of type 'stdext::_Hash<_Traits>::_List_position' (or there is no acceptable conversion)

    size_type _Bucket = SOME VALUE ASSINED.
    iterator _Where;
    _Where = _Vec[_Bucket]; - Error is at this line.

    Thanks,
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice