Welcome! This is where I write stuff...
The Swedish TV series Real Humans is now on its second season. It is about a time when we have human robots, so called Hubots.
In the series some screens with code are shown briefly. In the first season the code was C++. It had a lot of resemblance with this code. I believe some comments was removed and some other slight changes but the resemblance was striking.
Now in the second season some of the Hubots have gone smarter, more human like. Screens with code are still shown and this time it is appropriately Lisp that is the programming language! The comments are removed as before and some digits replace arguments in one function call but that is all.
Årets julkrim, JulRimSnowden, är åter ett rim på temat avlyssning och övervakning. Ett alltför aktuellt tema och sista ordet eller rimmet är väl inte sagt än.
På väg i taxi från Kista till Stockholms city till företagets årliga kräftskiva upptäckte vår ekonomichef att hon glömt skärpet på kontoret. Risk för pösiga byxor var överhängande vilket debatterades och lite olika förslag vad det glömda skärpet kunde användas till kastades fram under resan. Resan avslutade med den här limericken (fritt från minnet och kanske något redigerat ;-)
En blond ekonomichef från Kista En SM-klubb skulle bevista Men det blev ingen värk för hon glömde sitt skärp Så det smisket fick hon allt mista
List of all articles about C++0X or C++-11.
== Getting a tool chain to experiment with To experiment with the new C++ features it is good to have . . .
2K - last updated 2011-05-20 12:29 UTC by 220.127.116.11
= Auto is dead, long live auto The keyword auto will get a new meaning. The old meaning is something . . .
1K - last updated 2012-02-09 10:41 UTC by 18.104.22.168
As it happens I have had a long vacation and done other stuff than thinking about the new standard. That . . .
1K - last updated 2010-08-06 21:56 UTC by host-90-233-49-169.mobileonline.telia.com
OOPS! Other stuff came along and I have had to stop with learning more about the new features in C++. . . .
1K - last updated 2010-11-19 23:34 UTC by localhost.localdomain
=More on type inference Together with **auto** there is a new keyword **decltype**. It is used to determine . . .
1K - last updated 2011-06-17 15:23 UTC by 22.214.171.124
=Initializer lists How many times have you not wanted to easily initialize a container with a list of . . .
2K - last updated 2011-06-27 07:43 UTC by 126.96.36.199
=Taking initialization one step further - Uniform Initialization Initializing containers is fine but . . .
1K - last updated 2011-06-28 11:38 UTC by 188.8.131.52
=Range based for loops Looping over containers is a very common task so it should be easy two write and . . .
1K - last updated 2011-07-31 22:47 UTC by host-90-232-62-193.mobileonline.telia.com
= Lambda expressions For defining small functions at the very spot they are used C++ introduces lambda . . .
2K - last updated 2011-09-15 19:51 UTC by localhost.localdomain
=More on Lambdas As we saw in the example with computing the sum we could in the lambda bind a variable . . .
2K - last updated 2011-09-20 14:01 UTC by 184.108.40.206
=New keyword nullptr Maybe what can be called a smaller correction in the new standard is the introduction . . .
2K - last updated 2011-10-19 15:41 UTC by 220.127.116.11
=Getting multiple angle brackets right A mostly embarrassing thing with good old C++ was that multiple . . .
1K - last updated 2011-11-25 23:45 UTC by localhost.localdomain
= Object construction made easier There are three things made for easier object construction. Non static . . .
3K - last updated 2011-12-20 07:04 UTC by 18.104.22.168
= constexpr To allow more expressive constant expressions C++-11 introduces the keyword **constexpr**. . . .
2K - last updated 2012-02-08 16:44 UTC by 22.214.171.124
= Explicit virtual overrides There were some, small!?, problems regarding controlling derivation and . . .
1K - last updated 2012-02-09 10:46 UTC by 126.96.36.199
= Strongly typed enums The old enum definition was a bit lame. Enums were almost interchangeable with . . .
1K - last updated 2012-02-24 23:15 UTC by 1-1-4-2a.mal.sth.bostream.se
= Giving up on static linkage I've been struggling with getting the treading examples working but with . . .
2K - last updated 2012-02-27 21:55 UTC by 1-1-4-2a.mal.sth.bostream.se
2012-04-18 1 CPlusPlus11
=Move semantics Copying big objects has always been a problem and somethings that you want to avoid. . . .
2K - last updated 2012-04-18 16:06 UTC by 1-1-4-2a.mal.sth.bostream.se
Started to write under the label [[CPlusPlus11]] for the new C++11 stuff. So much time has passed since . . .
1K - last updated 2012-04-18 15:52 UTC by 1-1-4-2a.mal.sth.bostream.se
= Moving on Time to investigate the new move semantics, or at least what I have understood about it! . . .
2K - last updated 2012-05-08 05:42 UTC by 1-1-4-2a.mal.sth.bostream.se
= Changes to old habits - you need to move to! With moving available the old habit of always passing . . .
1K - last updated 2012-05-08 09:13 UTC by 1-1-4-2a.mal.sth.bostream.se
= Still moving on One obvious place for moving objects instead of copying is when making a swap. It is . . .
2K - last updated 2012-05-08 07:52 UTC by 1-1-4-2a.mal.sth.bostream.se
= The future of threading A major concern these days is how to handle all these cores we have available . . .
2K - last updated 2012-05-09 12:43 UTC by 1-1-4-2a.mal.sth.bostream.se
= Unrestricted Unions Unions is somewhat of a white area on the C++ map for me. I can't remember that . . .
1K - last updated 2012-05-11 21:55 UTC by 1-1-4-2a.mal.sth.bostream.se
= Raw String Literals A raw string is a character sequence where there are no special characters. What . . .
2K - last updated 2012-06-15 11:39 UTC by 1-1-4-2a.mal.sth.bostream.se
= Template-ized typedefs and template Aliases With C++11 we can define a typedef as a template using . . .
1K - last updated 2012-10-10 15:19 UTC by 188.8.131.52
= C++1y/C++14 Just when you have been starting to wonder when all these nice C++11 features are going . . .
1K - last updated 2013-04-29 06:57 UTC by setnip01.ericsson.net
Nytt rim efter en längre tids uppehåll i rimmandet. Har haft lite svårt att ta mig tid till att sitta ner och fundera. Hur som helst här är JulRimSD.
Många undrade när fortsättningen kommer och det får vi väl se helt enkelt!
With C++11 we can define a typedef as a template using the keyword using. Suppose you have a type with the template type parameter T and the template int parameter size. Now typedefs can't be templates but with the new using syntax the type can be defined like this:
template<typename T, int size> using TheType = array<T, size>;
Achieving the same result as typedef. Now we have a type, TheType?, that is a template type.
It does not end there. We can further partially bind a template using the same syntax. So if we would like to define a new type based on TheType? but with the size bound to 10 we would do like this:
template <typename T> using SizeTen = TheType<T, 10>;