If 0 .. 1… is used... Let's look at the world

Source: Internet
Author: User

If we use 0... to look at the world, it must be filled with various classes.

Each person inherits the same base class in the deepest layer, while the derived differs greatly.

Some people are very lazy, and all the memory is allocated directly, so memory will never change.

Some people are good at self-management, and all new Memory Spaces use auto_ptr,MemoryNaturally notLeakage.

Some people are rigorous in their work, and all new spaces are deleted in proper places, but they feel very tired, because they should be taken into account in every place where exceptions may be thrown.

Of course, the wise may have a loss. The directly allocated array will overflow. auto_ptr is helpless in the face of circular references. The direct Delete method may also cause a hanging pointer due to a logical error.

Although boost has proposed a variety of better implementation methods, the world is not perfect.

The world is full of various classes, and only a few of them are our friends. Even if they are your friends, they cannot directly access their base. Therefore, through a variety of interfaces, we try to understand each other's private part.

People all live in their own world and see interfaces of others.

Therefore, people always think that their world is the most beautiful, and their choices are the most reasonable, but they are virtually in a narrow, self-righteous narrow.

As a result, people began to use their own narrow methods to respond to others' access to their own interfaces. Pessimistic, negative, blind, and confused, good teachers mislead others. Everyone is influencing the world, but they are never limited by themselves. This is probably human nature.

Therefore, please live your life with sincerity, think deeply, and enjoy our wonderful experience.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.