temporary

Doubt on a C++ interview question

I have read Answers to C++ interview questions among which there is one that puzzles me: Q: When are temporary variables created by C++ compiler? A: Provided that function parameter is a "const reference", compiler generates temporary variable in following 2 ways. a) The actual argument is the correct type, but it isn't Lv...

Build temporary table with dynamic sql in SQL Server 2008

To make a long story short... I'm building a web app in which the user can select any combination of about 40 parameters. However, for one of the results they want(investment experience), I have to extract information from a different table and compare the values in six different columns(stock exp, mutual funds exp, etc) and return only...

What's the best way to have a "temporary" commit in git?

Say I have a project with two branches master and dev. I have a bunch of commits on dev for a special event which once tested are merged into master. Then after the event is over I want to remove the event specific code. However a git reset won't do since other commits have been made since the event code was added. Currently I use git c...

Storing temporary files

I would like to generate some temporary files in the course of my application. Specifically, I'm using AVAudioRecorder to record a file that I, upon stopping the recording, would like to load and edit/process. My question is: What is the appropriate standard place to create temporary files. Is there some generally accepted approach t...

temporary queues for msmq

In the JMS world there is this concept called temporary destinations which is very heplful for request/response scenarios. The sender makes request on some destination and creates a temporary destination (which exists only as long as the session it is created in is stil there)for receving the responses. Is there such a thing for msmq? ...