Random Chitchat 2012-2016
We have the BAM installed Smile The meeting will start at 19:00 CEST on https://meet.jit.si/cuberite
Thanks given by:
Could anyone help me get this snippet to compile?

#include <memory>
#include <vector>
#include <future>
using namespace std;

vector<packaged_task<void()>> veccy;

template<typename T>
void queue(T Task)
{
veccy.emplace_back(move(Task));
}

int main()
{
unique_ptr<int> un;
queue(
[un = move(un)]
{
}
);
   return 0;
}

It tells me that:

Code:
Error    C2280    'main::<lambda_2dcc5207d1d056d2ef4fc2991b66fdec>::<lambda_2dcc5207d1d056d2ef4fc2991b66fdec>(const main::<lambda_2dcc5207d1d056d2ef4fc2991b66fdec> &)': attempting to reference a deleted function    ConsoleApplication1    c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility    288
Thanks given by:
2 hours to go
Thanks given by:
Does anyone have a problem if we move the next meetings to 20:00? 19:00 is around dinner time, so I never really know if I can make it or not.
Thanks given by:
Sure, why not Smile
Thanks given by:
I'll be late about 10 minutes
Thanks given by:
I was late two hours. As usual, got stuck at workTongue
Thanks given by:
Never mind
Thanks given by:
All the API docs are ded. No articles, no hooks. V. bad for all. Plz fix soon.

--

Sent from my Windows desktop with Edge. Please excuse my brevity.
Thanks given by:
New update released for the website. Hopefully it's easier to get an overview of the Cuberite project now. Wink
https://cuberite.org
Thanks given by:




Users browsing this thread: 31 Guest(s)