Question: What is the good way to express the diagram in C++ with multiple inheritance? Or do I need to use multiple inheritance in this case? Can't I just create a Child1 and a Child2 instance in the base class and use them?

![enter image description here](https://i.stack.imgur.com/B47zV.jpg)

Answer: 
You can use touch with the `-h` flag in bash to modify the mtime and atime of the symlink instead of the file it references:

```
touch -h somesymlink

```

You can use the `-t` flag to specify a time to set it to, if you don't want to use the current time.
Use `lutimes` instead. See `man lutimes` or <http://www.gnu.org/software/libc/manual/html_node/File-Times.html>