Ref-qualified member functions

Written by rpz

Today I’m going to tell you about a new and a little known (to my mind) C++ feature — reference-qualified member functions . I’ll tell about the rules of such functions overloading and, as an example of use, I’ll show you that with the help of ref-qualified you can try to improve the resource...

C++
  • 2
  • 4209
*nix
  • 1
  • 22979
Go
  • 1
  • 12609
  • 6

Mocking with ScalaMock

Written by Kukuruku Hub

This article may be considered as a continuation of Introduction to Writing Tests with ScalaTest . In this post I would like to talk about ScalaMock. Mocking is a technique by which you can test code without requiring all of its dependencies in place. Java offers several frameworks for...

Scala
  • 1
  • 1531
Scala
  •  
  • 3677
Scala
  • 1
  • 4179

Lock-free Data Structures. Memory Model. Part 3.

Written by khizmax

In the previous article we looked inside the processor, even if it’s hypothetic. We have clarified that for the proper parallel code execution we should prompt the processor to what limits he is allowed to execute its internal read/write optimizations. These prompts are memory barriers....

C++
  •  
  • 9647
  • 3
C++
  • 5
  • 25718
  • 1