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 4075352
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:17:14+00:00 2026-05-20T17:17:14+00:00

I was wondering if there is an equivalent of the MemoryCache class from .net

  • 0

I was wondering if there is an equivalent of the MemoryCache class from .net in C++? (http://msdn.microsoft.com/en-us/library/system.runtime.caching.memorycache.aspx)

I’m loading audio files/images frequently in my program and I’d like to avoid reloading audio/video if I’ve recently used it by keeping it in a memory cache. I realize I could use a map or something similar, but I was wondering if there was a data structure that’d be better suited to this sort of thing? Additionalyl if I used a map, I’d have to continually check when to expire something from the map and remove it

Does boost include something like this? I have that available already.

Thanks in advance

  • 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-05-20T17:17:14+00:00Added an answer on May 20, 2026 at 5:17 pm

    Use boost to implement an LRU cache?

    LRU implementation in production code

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

Sidebar

Related Questions

I wondering is there an equivalent of this feature from play framework http://www.playframework.org/documentation/2.0/JavaAsync Basicly
I'm wondering if there is an equivalent function to PHP's call_user_func() in ASP.NET application.
I'm wondering if there is an ASP.Net MVC equivalent to PHP's require_once() function. Lets
Came across something like this today, and was wondering if there was an equivalent
Just wondering... is there a PHP equivalent to Perl's Taint Mode? I don't think
Wondering if there is any way to get the lambda expressions that result from
I'm wondering if there is an equivalent to Qt's signal/slot mechanism for Perl. I
I'm quite new to flex/actionscript and I was wondering if there is an equivalent
I was wondering if there is a MooTools equivalent to jQuery's .getScript() ? I'm
I'm wondering if there's an HTML/JS equivalent to LINQPad, really. Something that I could

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.