Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
examples of mongo::ptr_vector
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Mumford  
View profile  
 More options May 23 2012, 4:22 pm
From: David Mumford <davidmm...@gmail.com>
Date: Wed, 23 May 2012 13:22:49 -0700 (PDT)
Local: Wed, May 23 2012 4:22 pm
Subject: examples of mongo::ptr_vector
Hello,

I am attempting to create a container of
auto_ptr<mongo::dbclientcursor> objects in c++.
This is ofcourse an invalid operation because because of the use of
std::auto_ptr.

Is there any way to do this using the mongo::ptr_vector<...>
container?

Any help/examples are much appreciated.

Thanks,
David.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sid  
View profile  
 More options May 24 2012, 3:57 pm
From: Sid <siddharth.si...@10gen.com>
Date: Thu, 24 May 2012 12:57:30 -0700 (PDT)
Local: Thurs, May 24 2012 3:57 pm
Subject: Re: examples of mongo::ptr_vector
I am not sure if I understand your question correctly. Can you clarify
what are you trying to achieve.
Why not just use a vector of dbclientcursor pointers ?

On May 23, 4:22 pm, David Mumford <davidmm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »