Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8722857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:30:01+00:00 2026-06-13T07:30:01+00:00

I just upgraded a third party library called RogueWave which I use for database

  • 0

I just upgraded a third party library called RogueWave which I use for database functions.

But, I am getting a really silly compile error, and I am not quite sure what it is complaining about:

 typedef std::set< EVBusCalOverride > OverrideSet;
 OverrideSet overrides;

 OverrideSet::iterator itor = this->overrides.begin( );
 while( itor != this->overrides.end( ) )

I get an error on the iterator initialization line saying

An object or reference of type "std::set<EVBusCalOverride,std::less<EVBusCalOverride>,std::allocator<EVBusCalOverride> >::iterator" 
cannot be initialized with an rvalue of type    "std::_Tree<std::_Tset_traits<EVBusCalOverride,std::less<EVBusCalOverride>,std::allocator<EVBusCalOverride>,0> >::const_iterator".

And EVBusCalOverride is just a class

class EVBusCalOverride
{

   private:
   RWDate overrideDate;
   bool   businessDay;
};

RWDate is a datetype variable that belongs to the RogueWave libraries.

Am not sure how that affects the iterator initialization. Can anybody point me in the right direction of what might be causing this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T07:30:02+00:00Added an answer on June 13, 2026 at 7:30 am

    roguewave is a very old library.

    Most collections have two types of iterator, iterator which allows you to change the members and const_iterator which does not.

    std::set is an exception to that rule in a sense that you cannot modify the members so all iterators are const. However they still support iterator and const_iterator, often one being an alias of the other, but roguewave obviously doesn’t.

    Changing iterator in your code to const_iterator will probably fix, but I would suggest you change your version of STL if possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just upgraded to iPhone sdk4 and getting a lot of errors in my iPhone
I just upgraded an app to Rails 3.2 and am starting to use Twitter
I just upgraded to the latest 4.3 Xcode. I have my plist.which is preprocessed
I just upgraded my WAMP. A lot of my code used to use <?=$variable?>
Having just upgraded to iOS 4.1 (Xcode 3.2.4) I am getting warnings when using
I just upgraded to Snow Leopard and I'm trying to get it to use
I just upgraded to Ubuntu 9.1 which comes with gcc 4.4.1 and I have
I just upgraded from Xcode 4 to Xcode 4.2 and now I'm getting the
I have a third party JQuery library that does this: var $this = $(this);
I just upgraded to Mono for Android version 4.2. Since then I am getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.